toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'ids'] = ids;
  if (time != null) {
    json[r'time'] = time;
  }
  if (status != null) {
    json[r'status'] = status;
  }
  if (userId != null) {
    json[r'userId'] = userId;
  }
  return json;
}