copyWith method
PassportElementError
copyWith({
- PassportElementType? type,
- String? message,
- PassportElementErrorSource? source,
Implementation
PassportElementError copyWith({
PassportElementType? type,
String? message,
PassportElementErrorSource? source,
}) => PassportElementError(
type: type ?? this.type,
message: message ?? this.message,
source: source ?? this.source,
);