toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (participants != null) {
    _json[r'participants'] = participants;
  } else {
    _json[r'participants'] = null;
  }
  if (servingFirst != null) {
    _json[r'servingFirst'] = servingFirst;
  } else {
    _json[r'servingFirst'] = null;
  }
  if (format != null) {
    _json[r'format'] = format;
  } else {
    _json[r'format'] = null;
  }
  return _json;
}