SearchFieldLookAndFeel.fromJson constructor

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

Implementation

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