fromJson static method

MPSettings3D? fromJson(
  1. dynamic json
)

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

Implementation

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