Value.fromJson constructor
Value.fromJson(
- Map json_
Implementation
Value.fromJson(core.Map json_)
: this(
booleanValue: json_.containsKey('booleanValue')
? json_['booleanValue'] as core.bool
: null,
dateValue: json_.containsKey('dateValue')
? Date.fromJson(
json_['dateValue'] as core.Map<core.String, core.dynamic>)
: null,
doubleValue: json_.containsKey('doubleValue')
? (json_['doubleValue'] as core.num).toDouble()
: null,
integerValue: json_.containsKey('integerValue')
? json_['integerValue'] as core.String
: null,
stringValue: json_.containsKey('stringValue')
? json_['stringValue'] as core.String
: null,
timestampValue: json_.containsKey('timestampValue')
? json_['timestampValue'] as core.String
: null,
);