fromJson static method
Attempts to build a MPLocation from a JSON object, this method will decode the object if needed
Implementation
static MPLocation? fromJson(json) => json != null && json != "null"
? MPLocation._fromJson(json is String ? jsonDecode(json) : json)
: null;