fromJson static method

MPSolutionConfig? fromJson(
  1. dynamic json
)

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

Implementation

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