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