fromJson method
Implementation
@override
NotchedShape? fromJson(String? json) {
if (json == null) return null;
switch (json) {
case 'circular':
return const CircularNotchedRectangle();
}
throw 'Unsuported_Json_Value';
}
@override
NotchedShape? fromJson(String? json) {
if (json == null) return null;
switch (json) {
case 'circular':
return const CircularNotchedRectangle();
}
throw 'Unsuported_Json_Value';
}