copyWith method
SmileData
copyWith(
{ - String? firstName,
- String? lastName,
- String? country,
- String? idNumber,
- String? idType,
- String? userId,
- String? jobId,
- String? tag,
- int? jobType,
- Environment? environment,
- Map<String, dynamic>? additionalValues,
- CaptureType? captureType,
- String? callbackUrl,
})
Implementation
SmileData copyWith({
String? firstName,
String? lastName,
String? country,
String? idNumber,
String? idType,
String? userId,
String? jobId,
String? tag,
int? jobType,
Environment? environment,
Map<String, dynamic>? additionalValues,
CaptureType? captureType,
String? callbackUrl,
}) {
return SmileData(
firstName: firstName ?? this.firstName,
lastName: lastName ?? this.lastName,
country: country ?? this.country,
idNumber: idNumber ?? this.idNumber,
idType: idType ?? this.idType,
userId: userId ?? this.userId,
jobId: jobId ?? this.jobId,
tag: tag ?? this.tag,
jobType: jobType ?? this.jobType,
environment: environment ?? this.environment,
additionalValues: additionalValues ?? this.additionalValues,
captureType: captureType ?? this.captureType,
);
}