Field.fromJson constructor

Field.fromJson(
  1. Map json_
)

Implementation

Field.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        type: json_.containsKey('type')
            ? Type.fromJson(
                json_['type'] as core.Map<core.String, core.dynamic>)
            : null,
      );