CopyAction.fromJson constructor

CopyAction.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CopyAction.fromJson(Map<String, dynamic> json) {
  return CopyAction(
    destinationBackupVaultArn: json['DestinationBackupVaultArn'] as String,
    lifecycle: json['Lifecycle'] != null
        ? Lifecycle.fromJson(json['Lifecycle'] as Map<String, dynamic>)
        : null,
  );
}