fromJson static method

MPBounds? fromJson(
  1. dynamic json
)

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

Implementation

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