Value.fromJson constructor
Implementation
factory Value.fromJson(Map<String, dynamic> json) {
return Value(
arrayValues: (json['arrayValues'] as List?)
?.whereNotNull()
.map((e) => Value.fromJson(e as Map<String, dynamic>))
.toList(),
bigIntValue: json['bigIntValue'] as int?,
bitValue: json['bitValue'] as bool?,
blobValue: _s.decodeNullableUint8List(json['blobValue'] as String?),
doubleValue: json['doubleValue'] as double?,
intValue: json['intValue'] as int?,
isNull: json['isNull'] as bool?,
realValue: json['realValue'] as double?,
stringValue: json['stringValue'] as String?,
structValue: json['structValue'] != null
? StructValue.fromJson(json['structValue'] as Map<String, dynamic>)
: null,
);
}