toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var after = this.after;
  var ids = this.ids;
  var position = this.position;

  final json = <String, Object?>{};
  if (after != null) {
    json[r'after'] = after;
  }
  json[r'ids'] = ids;
  if (position != null) {
    json[r'position'] = position;
  }
  return json;
}