MenusLookAndFeel.fromJson constructor

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

Implementation

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