toJson method

Map<String, dynamic> toJson()

Implementation

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