MapValue.fromJson constructor

MapValue.fromJson(
  1. Map _json
)

Implementation

MapValue.fromJson(core.Map _json) {
  if (_json.containsKey("fields")) {
    fields = commons.mapMap<core.Map, Value>(
        _json["fields"].cast<core.String, core.Map>(),
        (core.Map item) => new Value.fromJson(item));
  }
}