copyWith method

DealerUserRoleV2 copyWith({
  1. int? roleId,
  2. String? name,
  3. String? oktaName,
})

Implementation

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