toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var configuration = this.configuration;
  var fieldContextId = this.fieldContextId;
  var id = this.id;
  var schema = this.schema;

  final json = <String, Object?>{};
  if (configuration != null) {
    json[r'configuration'] = configuration;
  }
  json[r'fieldContextId'] = fieldContextId;
  json[r'id'] = id;
  if (schema != null) {
    json[r'schema'] = schema;
  }
  return json;
}