MapValue.fromJson constructor

MapValue.fromJson(
  1. Map json_
)

Implementation

MapValue.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? (json_['fields'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  Value.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );