StructType.fromJson constructor

StructType.fromJson(
  1. Map _json
)

Implementation

StructType.fromJson(core.Map _json) {
  if (_json.containsKey("fields")) {
    fields = (_json["fields"] as core.List)
        .map<Field>((value) => new Field.fromJson(value))
        .toList();
  }
}