toJson method

  1. @override
Map<String, dynamic>? toJson(
  1. TextHeightBehavior? value
)
override

Implementation

@override
Map<String, dynamic>? toJson(TextHeightBehavior? value) {
  if (value == null) return null;

  return {
    'applyHeightToFirstAscent': value.applyHeightToFirstAscent,
    'applyHeightToLastDescent': value.applyHeightToLastDescent,
  };

  throw 'Json_Unsuported_Value';
}