toJson method
Implementation
@override
String? toJson(MaterialTapTargetSize? object) {
if (object == null) return null;
switch (object) {
case MaterialTapTargetSize.padded:
return 'padded';
case MaterialTapTargetSize.shrinkWrap:
return 'shrinkWrap';
}
}