toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'user_id'] = userId;
  _json[r'status'] = status;
  if (dndEndTime != null) {
    _json[r'dnd_end_time'] = dndEndTime;
  }
  return _json;
}