copyWith method
SignatureData
copyWith({
- List<
SignaturePoint?> ? points, - Uint8List? imageBytes,
- String? base64String,
- String? svgData,
- double? width,
- double? height,
- DateTime? timestamp,
- Map<
String, dynamic> ? metadata, - BiometricProperties? biometrics,
- String? digitalSignature,
- String? certificateHash,
- SignatureType? type,
- AuthenticationLevel? authLevel,
Implementation
SignatureData copyWith({
List<SignaturePoint?>? points,
Uint8List? imageBytes,
String? base64String,
String? svgData,
double? width,
double? height,
DateTime? timestamp,
Map<String, dynamic>? metadata,
BiometricProperties? biometrics,
String? digitalSignature,
String? certificateHash,
SignatureType? type,
AuthenticationLevel? authLevel,
}) {
return SignatureData(
points: points ?? this.points,
imageBytes: imageBytes ?? this.imageBytes,
base64String: base64String ?? this.base64String,
svgData: svgData ?? this.svgData,
width: width ?? this.width,
height: height ?? this.height,
timestamp: timestamp ?? this.timestamp,
metadata: metadata ?? this.metadata,
biometrics: biometrics ?? this.biometrics,
digitalSignature: digitalSignature ?? this.digitalSignature,
certificateHash: certificateHash ?? this.certificateHash,
type: type ?? this.type,
authLevel: authLevel ?? this.authLevel,
);
}