core.Map<core.String, core.dynamic> toJson() => { if (fields != null) 'fields': fields!, if (jsonSchema != null) 'jsonSchema': jsonSchema!, if (name != null) 'name': name!, };