copyWith method
PassportSuitableElement
copyWith({
- PassportElementType? type,
- bool? isSelfieRequired,
- bool? isTranslationRequired,
- bool? isNativeNameRequired,
Implementation
PassportSuitableElement copyWith({
PassportElementType? type,
bool? isSelfieRequired,
bool? isTranslationRequired,
bool? isNativeNameRequired,
}) => PassportSuitableElement(
type: type ?? this.type,
isSelfieRequired: isSelfieRequired ?? this.isSelfieRequired,
isTranslationRequired: isTranslationRequired ?? this.isTranslationRequired,
isNativeNameRequired: isNativeNameRequired ?? this.isNativeNameRequired,
);