copyWith method
Implementation
DealerV2 copyWith(
{String? email,
String? authId,
String? dealerId,
List<String>? scopes,
List<String>? dealerGroups}) {
return DealerV2(
email: email ?? this.email,
authId: authId ?? this.authId,
dealerId: dealerId ?? this.dealerId,
scopes: scopes ?? this.scopes,
dealerGroups: dealerGroups ?? this.dealerGroups);
}