fromJson static method

MPVenueCollection? fromJson(
  1. dynamic json
)

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

Implementation

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