fromJson method

  1. @override
TextButtonThemeData? fromJson(
  1. Map<String, dynamic>? json
)

Implementation

@override
TextButtonThemeData? fromJson(Map<String, dynamic>? json) {
  if (json == null) return null;

  return TextButtonThemeData(
    style: const NullableButtonStyleConverter().fromJson(
      json['style'],
    ),
  );
}