toJson method

Map<String, dynamic> toJson()

Implementation

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