Value.fromJson constructor
Value.fromJson(
- Object? j
Implementation
factory Value.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return Value(
intValue: switch (json['intValue']) {
null => null,
Object $1 => decodeInt64($1),
},
doubleValue: switch (json['doubleValue']) {
null => null,
Object $1 => decodeDouble($1),
},
stringValue: switch (json['stringValue']) {
null => null,
Object $1 => decodeString($1),
},
);
}