OnlyDefaultMode.fromJson constructor
Alternate constructor that creates an OnlyDefaultMode from a json.
Params:
- json: contains the source for instance creation.
Implementation
factory OnlyDefaultMode.fromJson(Map<String, dynamic> json) {
return OnlyDefaultModeImpl.fromJson(json);
}