toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final dataType = this.dataType;
  final defaultValue = this.defaultValue;
  final description = this.description;
  final field = this.field;
  final jsonSchema = this.jsonSchema;
  final nullable = this.nullable;
  return {
    'dataType': ?dataType,
    'defaultValue': ?defaultValue,
    'description': ?description,
    'field': ?field,
    'jsonSchema': ?jsonSchema,
    'nullable': ?nullable,
  };
}