toJson method

Map<String, dynamic> toJson()

Implementation

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