Location constructor

const Location({
  1. required String type,
  2. required String subType,
  3. required String name,
  4. required String detailedName,
  5. required String id,
  6. required Self self,
  7. required String timeZoneOffset,
  8. required String iataCode,
  9. required GeoCode geoCode,
  10. required Address address,
  11. required Analytics analytics,
})

Implementation

const Location({
    required this.type,
    required this.subType,
    required this.name,
    required this.detailedName,
    required this.id,
    required this.self,
    required this.timeZoneOffset,
    required this.iataCode,
    required this.geoCode,
    required this.address,
    required this.analytics,
  });