copyWith method

Implementation

InputPassportElementError copyWith({
  PassportElementType? type,
  String? message,
  InputPassportElementErrorSource? source,
}) =>
    InputPassportElementError(
      type: type ?? this.type,
      message: message ?? this.message,
      source: source ?? this.source,
    );