toJson method

Map<String, dynamic> toJson()

Implementation

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