Field.fromJson constructor

Field.fromJson(
  1. Map _json
)

Implementation

Field.fromJson(core.Map _json) {
  if (_json.containsKey("name")) {
    name = _json["name"];
  }
  if (_json.containsKey("type")) {
    type = new Type.fromJson(_json["type"]);
  }
}