toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'androidAvailableActions':
          androidAvailableActions.map((e) => e.name).toList(),
      'iosLeftBarAvailableActions':
          iosLeftBarAvailableActions.map((e) => e.name).toList(),
      'iosRightBarAvailableActions':
          iosRightBarAvailableActions.map((e) => e.name).toList(),
      'availableMenus': availableMenus.map((e) => e.name).toList()
    };