toJson method
Implementation
@override
String? toJson(BorderStyle? object) {
if (object == null) return null;
switch (object) {
case BorderStyle.none:
return 'none';
case BorderStyle.solid:
return 'solid';
}
}
@override
String? toJson(BorderStyle? object) {
if (object == null) return null;
switch (object) {
case BorderStyle.none:
return 'none';
case BorderStyle.solid:
return 'solid';
}
}