Record.fromJson constructor
Implementation
factory Record.fromJson(Map<String, dynamic> json) {
return Record(
data: _s.decodeUint8List(json['Data']! as String),
partitionKey: json['PartitionKey'] as String,
sequenceNumber: json['SequenceNumber'] as String,
approximateArrivalTimestamp:
timeStampFromJson(json['ApproximateArrivalTimestamp']),
encryptionType: (json['EncryptionType'] as String?)?.toEncryptionType(),
);
}