BorderDashStyle.fromJson constructor
BorderDashStyle.fromJson(
- dynamic data
Implementation
BorderDashStyle.fromJson(dynamic data) {
switch (data) {
case "Solid":
value = data;
break;
case "Dash":
value = data;
break;
case "Dot":
value = data;
break;
case "DashDot":
value = data;
break;
case "DashDotDot":
value = data;
break;
default:
throw Exception('Unknown enum value to decode: $data');
}
}