ButtonLookAndFeel.fromJson constructor

ButtonLookAndFeel.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ButtonLookAndFeel.fromJson(Map<String, Object?> json) {
  return ButtonLookAndFeel(
    backgroundColor: json[r'backgroundColor'] as String? ?? '',
    color: json[r'color'] as String? ?? '',
  );
}