toJson method

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

Implementation

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

  return <String, dynamic>{
    'style': const NullableButtonStyleConverter().toJson(value.style),
  };

  throw 'Json_Unsuported_Value';
}