Bounds.fromJson constructor

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

Implementation

factory Bounds.fromJson(Map<String, dynamic> json) {
  return Bounds(
    northeast: json['northeast'] != null
        ? Northeast.fromJson(json['northeast'])
        : null,
    southwest: json['southwest'] != null
        ? Southwest.fromJson(json['southwest'])
        : null,
  );
}