copyWith method

WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponse copyWith({
  1. String? userId,
  2. String? username,
  3. String? email,
  4. String? firstName,
  5. String? lastName,
  6. String? timezone,
  7. WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponseErpIntegration? erpIntegration,
  8. String? boxedupEndpoint,
})

Implementation

WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponse copyWith({
  String? userId,
  String? username,
  String? email,
  String? firstName,
  String? lastName,
  String? timezone,
  WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponseErpIntegration?
  erpIntegration,
  String? boxedupEndpoint,
}) {
  return WebApiModulesPluginsBoxedUpBoxedUpUpdateTokenResponse(
    userId: userId ?? this.userId,
    username: username ?? this.username,
    email: email ?? this.email,
    firstName: firstName ?? this.firstName,
    lastName: lastName ?? this.lastName,
    timezone: timezone ?? this.timezone,
    erpIntegration: erpIntegration ?? this.erpIntegration,
    boxedupEndpoint: boxedupEndpoint ?? this.boxedupEndpoint,
  );
}