fromJson static method

MPError? fromJson(
  1. dynamic json
)

Implementation

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