copyWith method
Implementation
DealerUserRoleV2 copyWith({int? roleId, String? name, String? oktaName}) {
return DealerUserRoleV2(
roleId: roleId ?? this.roleId,
name: name ?? this.name,
oktaName: oktaName ?? this.oktaName);
}
DealerUserRoleV2 copyWith({int? roleId, String? name, String? oktaName}) {
return DealerUserRoleV2(
roleId: roleId ?? this.roleId,
name: name ?? this.name,
oktaName: oktaName ?? this.oktaName);
}