mirrored_repositories/flight_tracker/lib/domain
import '../../data/model/flight.dart';

/// Repository for represent the implementation of api
abstract class FightTrackerApiRepository {
  String get fieldId;
  String get fieldMapAirportDetailDeparture;
  String get fieldMapAirportDetailArrival;
  String get fieldDelay;
  String get fieldNameAirport;
  String get fieldIdAirport;
  String get fieldTerminalAirport;
  String get fieldGateAirport;
  String get fieldTimeEstimatedAirport;

  Future<Flight?> getFlightById(String idFlight);

  Future<List<Flight>> updateListFlight({required List<Flight> listToUpdate});
}
