toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final annotations = this.annotations;
final arrayItems = this.arrayItems;
final constraints = this.constraints;
final enumValues = this.enumValues;
final index = this.index;
final mapItems = this.mapItems;
final name = this.name;
final recordFields = this.recordFields;
final type = this.type;
final typeId = this.typeId;
final typeRef = this.typeRef;
return {
'annotations': ?annotations,
'arrayItems': ?arrayItems,
'constraints': ?constraints,
'enumValues': ?enumValues,
'index': ?index,
'mapItems': ?mapItems,
'name': ?name,
'recordFields': ?recordFields,
'type': ?type,
'typeId': ?typeId,
'typeRef': ?typeRef,
};
}