mirrored_repositories/flutter_spacexopedia/lib/resources
import 'package:flutter/material.dart';
import 'package:flutter_spacexopedia/bloc/launches/launch_model.dart';
import 'package:flutter_spacexopedia/resources/service/api_gatway.dart';

class LaunchRepository {
  final ApiGateway apiGateway;

  LaunchRepository({
    @required this.apiGateway
  }) : assert( apiGateway != null);

  Future<List<Launch>> fetchAllLaunch(){
      return apiGateway.fetchAllLaunch();
  } 
}
