toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final kMSEncryptionConfig = this.kMSEncryptionConfig;
  final noEncryptionConfig = this.noEncryptionConfig;
  return {
    if (kMSEncryptionConfig != null)
      'KMSEncryptionConfig': kMSEncryptionConfig,
    if (noEncryptionConfig != null)
      'NoEncryptionConfig': noEncryptionConfig.toValue(),
  };
}