Value.fromJson constructor

Value.fromJson(
  1. Map json_
)

Implementation

Value.fromJson(core.Map json_)
    : this(
        fpVal: (json_['fpVal'] as core.num?)?.toDouble(),
        intVal: json_['intVal'] as core.int?,
        mapVal: (json_['mapVal'] as core.List?)
            ?.map((value) => ValueMapValEntry.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        stringVal: json_['stringVal'] as core.String?,
      );