copyWithWrapped method

DealerV2 copyWithWrapped({
  1. Wrapped<String?>? email,
  2. Wrapped<String?>? authId,
  3. Wrapped<String?>? dealerId,
  4. Wrapped<List<String>?>? scopes,
  5. Wrapped<List<String>?>? dealerGroups,
})

Implementation

DealerV2 copyWithWrapped(
    {Wrapped<String?>? email,
    Wrapped<String?>? authId,
    Wrapped<String?>? dealerId,
    Wrapped<List<String>?>? scopes,
    Wrapped<List<String>?>? dealerGroups}) {
  return DealerV2(
      email: (email != null ? email.value : this.email),
      authId: (authId != null ? authId.value : this.authId),
      dealerId: (dealerId != null ? dealerId.value : this.dealerId),
      scopes: (scopes != null ? scopes.value : this.scopes),
      dealerGroups:
          (dealerGroups != null ? dealerGroups.value : this.dealerGroups));
}