TypedValue.fromJson constructor

TypedValue.fromJson(
  1. Map json_
)

Implementation

TypedValue.fromJson(core.Map json_)
  : this(
      boolValue: json_['boolValue'] as core.bool?,
      distributionValue:
          json_.containsKey('distributionValue')
              ? Distribution.fromJson(
                json_['distributionValue']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      doubleValue: (json_['doubleValue'] as core.num?)?.toDouble(),
      int64Value: json_['int64Value'] as core.String?,
      stringValue: json_['stringValue'] as core.String?,
    );