factory EncryptionOptions.fromJson(Map<String, dynamic> json) { return EncryptionOptions( useAwsOwnedKey: json['useAwsOwnedKey'] as bool, kmsKeyId: json['kmsKeyId'] as String?, ); }