fromJson static method

MPVenue? fromJson(
  1. dynamic json
)

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

Implementation

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