toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = this.data;
  final partitionKey = this.partitionKey;
  final explicitHashKey = this.explicitHashKey;
  return {
    'Data': base64Encode(data),
    'PartitionKey': partitionKey,
    if (explicitHashKey != null) 'ExplicitHashKey': explicitHashKey,
  };
}