toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (manageApps != null) 'manageApps': manageApps!,
  if (manageMembersAndGroups != null)
    'manageMembersAndGroups': manageMembersAndGroups!,
  if (manageWebhooks != null) 'manageWebhooks': manageWebhooks!,
  if (modifySpaceDetails != null) 'modifySpaceDetails': modifySpaceDetails!,
  if (postMessages != null) 'postMessages': postMessages!,
  if (replyMessages != null) 'replyMessages': replyMessages!,
  if (toggleHistory != null) 'toggleHistory': toggleHistory!,
  if (useAtMentionAll != null) 'useAtMentionAll': useAtMentionAll!,
};