toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audience != null) 'audience': audience!,
      if (email != null) 'email': email!,
      if (group != null) 'group': group!,
      if (name != null) 'name': name!,
      if (person != null) 'person': person!,
      if (role != null) 'role': role!,
    };