fromJson method
Implementation
@override
Overflow? fromJson(String? json) {
if (json == null) return null;
switch (json) {
case 'clip':
// ignore: deprecated_member_use
return Overflow.clip;
case 'visible':
// ignore: deprecated_member_use
return Overflow.visible;
}
throw 'Unsuported_Json_Value';
}