fromJson method
Implementation
@override
BorderStyle? fromJson(String? json) {
if (json == null) return null;
switch (json) {
case 'none':
return BorderStyle.none;
case 'solid':
return BorderStyle.solid;
}
throw 'Unsuported_Json_Value';
}