DataTypeField.fromJson constructor

DataTypeField.fromJson(
  1. Map json_
)

Implementation

DataTypeField.fromJson(core.Map json_)
    : this(
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        optional: json_.containsKey('optional')
            ? json_['optional'] as core.bool
            : null,
      );