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