Southwest.fromJson constructor

Southwest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Southwest.fromJson(Map<String, dynamic> json) {
  return Southwest(
    lat: json['lat'] != null ? json['lat'].toDouble() : null,
    lng: json['lng'] != null ? json['lng'].toDouble() : null,
  );
}