Northeast.fromJson constructor

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

Implementation

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