factory S3StorageConfig.fromJson(Map<String, dynamic> json) { return S3StorageConfig( s3Uri: json['S3Uri'] as String, kmsKeyId: json['KmsKeyId'] as String?, ); }