toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowDiscovery != null) 'allowDiscovery': allowDiscovery!,
  if (anyone != null) 'anyone': anyone!,
  if (domain != null) 'domain': domain!,
  if (group != null) 'group': group!,
  if (role != null) 'role': role!,
  if (user != null) 'user': user!,
};