toJson method

Map<String, Object?> toJson()

Implementation

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

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