FontMode.fromJson constructor
FontMode.fromJson(
- dynamic data
Implementation
FontMode.fromJson(dynamic data) {
switch (data) {
case "Auto":
value = data;
break;
case "Manual":
value = data;
break;
default:
throw Exception('Unknown enum value to decode: $data');
}
}