fromJson static method

MPGeocodeResult? fromJson(
  1. dynamic json
)

Attempts to build a MPFloor from a JSON object, this method will decode the object if needed

Implementation

static MPGeocodeResult? fromJson(json) => json != null && json != "null"
    ? MPGeocodeResult._fromJson(json is String ? jsonDecode(json) : json)
    : null;