Encryption.fromJson constructor
Implementation
factory Encryption.fromJson(Map<String, dynamic> json) {
return Encryption(
algorithm: (json['algorithm'] as String).toAlgorithm(),
roleArn: json['roleArn'] as String,
constantInitializationVector:
json['constantInitializationVector'] as String?,
deviceId: json['deviceId'] as String?,
keyType: (json['keyType'] as String?)?.toKeyType(),
region: json['region'] as String?,
resourceId: json['resourceId'] as String?,
secretArn: json['secretArn'] as String?,
url: json['url'] as String?,
);
}