toJson method

Map<String, dynamic> toJson()

Converts this object to something serializable in JSON.

Implementation

Map<String, dynamic> toJson() => {
      'northeast': northeast.toJson(),
      'southwest': southwest.toJson(),
    };