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