CustomMenu.fromJson constructor

CustomMenu.fromJson(
  1. Map<String, dynamic> json
)

Implementation

CustomMenu.fromJson(Map<String, dynamic> json)
    : disabledMenuItems = json['disabledMenuItems'],
      menuItems = json['menuItems'] != null
          ? (json['menuItems'] as List<dynamic>)
              .map((e) => CustomMenuItem.fromJson(e))
              .toList()
          : null;