toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (guests != null) {
    _json[r'guests'] = guests;
  }
  if (members != null) {
    _json[r'members'] = members;
  }
  return _json;
}