copyWith method

  1. @override
PassportElementPassport copyWith({
  1. IdentityDocument? passport,
  2. dynamic extra,
  3. int? clientId,
})
override

Implementation

@override
PassportElementPassport copyWith({
  IdentityDocument? passport,
  dynamic extra,
  int? clientId,
}) => PassportElementPassport(
  passport: passport ?? this.passport,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);