toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var description = this.description;
  var id = this.id;
  var isHidden = this.isHidden;
  var isRequired = this.isRequired;
  var renderer = this.renderer;

  final json = <String, Object?>{};
  if (description != null) {
    json[r'description'] = description;
  }
  json[r'id'] = id;
  json[r'isHidden'] = isHidden;
  json[r'isRequired'] = isRequired;
  if (renderer != null) {
    json[r'renderer'] = renderer;
  }
  return json;
}