merge: sync feature/videocall-sdk-integration with fusion-app

This commit is contained in:
2026-04-26 22:03:00 +02:00
12 changed files with 74 additions and 79 deletions

View File

@@ -1096,5 +1096,6 @@
"errorSessionExpired": "Deine Sitzung ist abgelaufen. Bitte melde dich erneut an.",
"errorValidation": "Die eingegebenen Daten sind ungültig.",
"errorScaRequired": "Eine zusätzliche Authentifizierung ist erforderlich.",
"errorDeviceNotOwned": "Du hast keine Berechtigung, auf dieses Gerät zuzugreifen."
"errorDeviceNotOwned": "Du hast keine Berechtigung, auf dieses Gerät zuzugreifen.",
"errorGeneric": "Ein unerwarteter Fehler ist aufgetreten."
}

View File

@@ -1096,5 +1096,6 @@
"errorSessionExpired": "Your session has expired. Please sign in again.",
"errorValidation": "The information you entered is not valid.",
"errorScaRequired": "Additional authentication is required to continue.",
"errorDeviceNotOwned": "You don't have permission to access this device."
"errorDeviceNotOwned": "You don't have permission to access this device.",
"errorGeneric": "An unexpected error occurred."
}

View File

@@ -1096,5 +1096,6 @@
"errorSessionExpired": "Tu sesión ha caducado. Vuelve a iniciar sesión.",
"errorValidation": "Los datos introducidos no son válidos.",
"errorScaRequired": "Se requiere autenticación adicional para continuar.",
"errorDeviceNotOwned": "No tienes permiso para acceder a este dispositivo."
"errorDeviceNotOwned": "No tienes permiso para acceder a este dispositivo.",
"errorGeneric": "Ha ocurrido un error inesperado."
}

View File

@@ -1096,5 +1096,6 @@
"errorSessionExpired": "Votre session a expiré. Veuillez vous reconnecter.",
"errorValidation": "Les données saisies ne sont pas valides.",
"errorScaRequired": "Une authentification supplémentaire est requise pour continuer.",
"errorDeviceNotOwned": "Vous n'avez pas l'autorisation d'accéder à cet appareil."
"errorDeviceNotOwned": "Vous n'avez pas l'autorisation d'accéder à cet appareil.",
"errorGeneric": "Une erreur inattendue s'est produite."
}

View File

@@ -1096,5 +1096,6 @@
"errorSessionExpired": "La tua sessione è scaduta. Accedi di nuovo.",
"errorValidation": "I dati inseriti non sono validi.",
"errorScaRequired": "È richiesta un'autenticazione aggiuntiva per continuare.",
"errorDeviceNotOwned": "Non hai il permesso di accedere a questo dispositivo."
"errorDeviceNotOwned": "Non hai il permesso di accedere a questo dispositivo.",
"errorGeneric": "Si è verificato un errore imprevisto."
}

View File

@@ -1096,5 +1096,6 @@
"errorSessionExpired": "A tua sessão expirou. Inicia sessão novamente.",
"errorValidation": "Os dados introduzidos não são válidos.",
"errorScaRequired": "É necessária autenticação adicional para continuar.",
"errorDeviceNotOwned": "Não tens permissão para aceder a este dispositivo."
"errorDeviceNotOwned": "Não tens permissão para aceder a este dispositivo.",
"errorGeneric": "Ocorreu um erro inesperado."
}

View File

@@ -15,7 +15,7 @@ T _$identity<T>(T value) => value;
/// @nodoc
mixin _$DeviceCapabilitiesModel {
DeviceCapabilityOptionModel? get heartbeats; DeviceCapabilityEnabledModel? get bloodPressure; DeviceCapabilityAlertsModel? get alerts; DeviceCapabilityEnabledModel? get podometer; DeviceCapabilityContactsModel? get contacts; DeviceCapabilitySettingsModel? get settings; DeviceCapabilityCommandsModel? get commands; DeviceCapabilityTakepillsModel? get takepills; DeviceCapabilityOptionModel? get location; DeviceCapabilityCameraModel? get camera; DeviceCapabilityDoNotDisturbModel? get doNotDisturbs; DeviceCapabilityAlarmsModel? get alarms; DeviceCapabilityAppUsageModel? get appUsageSchedules; DeviceCapabilityEnabledModel? get keyboard; DeviceCapabilityEnabledModel? get nightMode; DeviceCapabilityEnabledModel? get wifi; DeviceCapabilityEnabledModel? get deviceBackground; DeviceCapabilityVolumeModel? get volume; String? get system;
DeviceCapabilityOptionModel? get heartbeats; DeviceCapabilityEnabledModel? get bloodPressure; DeviceCapabilityAlertsModel? get alerts; DeviceCapabilityEnabledModel? get podometer; DeviceCapabilityContactsModel? get contacts; DeviceCapabilitySettingsModel? get settings; DeviceCapabilityCommandsModel? get commands; DeviceCapabilityTakepillsModel? get takepills; DeviceCapabilityOptionModel? get location; DeviceCapabilityCameraModel? get camera; DeviceCapabilityDoNotDisturbModel? get doNotDisturbs; DeviceCapabilityAlarmsModel? get alarms; DeviceCapabilityAppUsageModel? get appUsageSchedules; DeviceCapabilityEnabledModel? get keyboard; DeviceCapabilityEnabledModel? get nightMode; DeviceCapabilityEnabledModel? get wifi; DeviceCapabilityEnabledModel? get deviceBackground; DeviceCapabilityVolumeModel? get volume;
/// Create a copy of DeviceCapabilitiesModel
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@@ -28,16 +28,16 @@ $DeviceCapabilitiesModelCopyWith<DeviceCapabilitiesModel> get copyWith => _$Devi
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesModel&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume)&&(identical(other.system, system) || other.system == system));
return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesModel&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume,system]);
int get hashCode => Object.hash(runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume);
@override
String toString() {
return 'DeviceCapabilitiesModel(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume, system: $system)';
return 'DeviceCapabilitiesModel(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume)';
}
@@ -48,7 +48,7 @@ abstract mixin class $DeviceCapabilitiesModelCopyWith<$Res> {
factory $DeviceCapabilitiesModelCopyWith(DeviceCapabilitiesModel value, $Res Function(DeviceCapabilitiesModel) _then) = _$DeviceCapabilitiesModelCopyWithImpl;
@useResult
$Res call({
DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume, String? system
DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume
});
@@ -65,7 +65,7 @@ class _$DeviceCapabilitiesModelCopyWithImpl<$Res>
/// Create a copy of DeviceCapabilitiesModel
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,Object? system = freezed,}) {
@pragma('vm:prefer-inline') @override $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,}) {
return _then(_self.copyWith(
heartbeats: freezed == heartbeats ? _self.heartbeats : heartbeats // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityOptionModel?,bloodPressure: freezed == bloodPressure ? _self.bloodPressure : bloodPressure // ignore: cast_nullable_to_non_nullable
@@ -85,8 +85,7 @@ as DeviceCapabilityEnabledModel?,nightMode: freezed == nightMode ? _self.nightMo
as DeviceCapabilityEnabledModel?,wifi: freezed == wifi ? _self.wifi : wifi // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledModel?,deviceBackground: freezed == deviceBackground ? _self.deviceBackground : deviceBackground // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledModel?,volume: freezed == volume ? _self.volume : volume // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityVolumeModel?,system: freezed == system ? _self.system : system // ignore: cast_nullable_to_non_nullable
as String?,
as DeviceCapabilityVolumeModel?,
));
}
/// Create a copy of DeviceCapabilitiesModel
@@ -387,10 +386,10 @@ return $default(_that);case _:
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume, String? system)? $default,{required TResult orElse(),}) {final _that = this;
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesModel() when $default != null:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume,_that.system);case _:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume);case _:
return orElse();
}
@@ -408,10 +407,10 @@ return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podomete
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume, String? system) $default,) {final _that = this;
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume) $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesModel():
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume,_that.system);case _:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume);case _:
throw StateError('Unexpected subclass');
}
@@ -428,10 +427,10 @@ return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podomete
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume, String? system)? $default,) {final _that = this;
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume)? $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesModel() when $default != null:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume,_that.system);case _:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume);case _:
return null;
}
@@ -443,7 +442,7 @@ return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podomete
@JsonSerializable()
class _DeviceCapabilitiesModel implements DeviceCapabilitiesModel {
const _DeviceCapabilitiesModel({this.heartbeats, this.bloodPressure, this.alerts, this.podometer, this.contacts, this.settings, this.commands, this.takepills, this.location, this.camera, this.doNotDisturbs, this.alarms, this.appUsageSchedules, this.keyboard, this.nightMode, this.wifi, this.deviceBackground, this.volume, this.system});
const _DeviceCapabilitiesModel({this.heartbeats, this.bloodPressure, this.alerts, this.podometer, this.contacts, this.settings, this.commands, this.takepills, this.location, this.camera, this.doNotDisturbs, this.alarms, this.appUsageSchedules, this.keyboard, this.nightMode, this.wifi, this.deviceBackground, this.volume});
factory _DeviceCapabilitiesModel.fromJson(Map<String, dynamic> json) => _$DeviceCapabilitiesModelFromJson(json);
@override final DeviceCapabilityOptionModel? heartbeats;
@@ -464,7 +463,6 @@ class _DeviceCapabilitiesModel implements DeviceCapabilitiesModel {
@override final DeviceCapabilityEnabledModel? wifi;
@override final DeviceCapabilityEnabledModel? deviceBackground;
@override final DeviceCapabilityVolumeModel? volume;
@override final String? system;
/// Create a copy of DeviceCapabilitiesModel
/// with the given fields replaced by the non-null parameter values.
@@ -479,16 +477,16 @@ Map<String, dynamic> toJson() {
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesModel&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume)&&(identical(other.system, system) || other.system == system));
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesModel&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume,system]);
int get hashCode => Object.hash(runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume);
@override
String toString() {
return 'DeviceCapabilitiesModel(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume, system: $system)';
return 'DeviceCapabilitiesModel(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume)';
}
@@ -499,7 +497,7 @@ abstract mixin class _$DeviceCapabilitiesModelCopyWith<$Res> implements $DeviceC
factory _$DeviceCapabilitiesModelCopyWith(_DeviceCapabilitiesModel value, $Res Function(_DeviceCapabilitiesModel) _then) = __$DeviceCapabilitiesModelCopyWithImpl;
@override @useResult
$Res call({
DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume, String? system
DeviceCapabilityOptionModel? heartbeats, DeviceCapabilityEnabledModel? bloodPressure, DeviceCapabilityAlertsModel? alerts, DeviceCapabilityEnabledModel? podometer, DeviceCapabilityContactsModel? contacts, DeviceCapabilitySettingsModel? settings, DeviceCapabilityCommandsModel? commands, DeviceCapabilityTakepillsModel? takepills, DeviceCapabilityOptionModel? location, DeviceCapabilityCameraModel? camera, DeviceCapabilityDoNotDisturbModel? doNotDisturbs, DeviceCapabilityAlarmsModel? alarms, DeviceCapabilityAppUsageModel? appUsageSchedules, DeviceCapabilityEnabledModel? keyboard, DeviceCapabilityEnabledModel? nightMode, DeviceCapabilityEnabledModel? wifi, DeviceCapabilityEnabledModel? deviceBackground, DeviceCapabilityVolumeModel? volume
});
@@ -516,7 +514,7 @@ class __$DeviceCapabilitiesModelCopyWithImpl<$Res>
/// Create a copy of DeviceCapabilitiesModel
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,Object? system = freezed,}) {
@override @pragma('vm:prefer-inline') $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,}) {
return _then(_DeviceCapabilitiesModel(
heartbeats: freezed == heartbeats ? _self.heartbeats : heartbeats // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityOptionModel?,bloodPressure: freezed == bloodPressure ? _self.bloodPressure : bloodPressure // ignore: cast_nullable_to_non_nullable
@@ -536,8 +534,7 @@ as DeviceCapabilityEnabledModel?,nightMode: freezed == nightMode ? _self.nightMo
as DeviceCapabilityEnabledModel?,wifi: freezed == wifi ? _self.wifi : wifi // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledModel?,deviceBackground: freezed == deviceBackground ? _self.deviceBackground : deviceBackground // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledModel?,volume: freezed == volume ? _self.volume : volume // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityVolumeModel?,system: freezed == system ? _self.system : system // ignore: cast_nullable_to_non_nullable
as String?,
as DeviceCapabilityVolumeModel?,
));
}

View File

@@ -99,7 +99,6 @@ _DeviceCapabilitiesModel _$DeviceCapabilitiesModelFromJson(
: DeviceCapabilityVolumeModel.fromJson(
json['volume'] as Map<String, dynamic>,
),
system: json['system'] as String?,
);
Map<String, dynamic> _$DeviceCapabilitiesModelToJson(
@@ -123,7 +122,6 @@ Map<String, dynamic> _$DeviceCapabilitiesModelToJson(
'wifi': instance.wifi,
'deviceBackground': instance.deviceBackground,
'volume': instance.volume,
'system': instance.system,
};
_DeviceCapabilityEnabledModel _$DeviceCapabilityEnabledModelFromJson(

View File

@@ -14,7 +14,7 @@ T _$identity<T>(T value) => value;
/// @nodoc
mixin _$DeviceCapabilitiesEntity {
DeviceCapabilityOptionEntity? get heartbeats; DeviceCapabilityEnabledEntity? get bloodPressure; DeviceCapabilityAlertsEntity? get alerts; DeviceCapabilityEnabledEntity? get podometer; DeviceCapabilityContactsEntity? get contacts; DeviceCapabilitySettingsEntity? get settings; DeviceCapabilityCommandsEntity? get commands; DeviceCapabilityTakepillsEntity? get takepills; DeviceCapabilityOptionEntity? get location; DeviceCapabilityCameraEntity? get camera; DeviceCapabilityDoNotDisturbEntity? get doNotDisturbs; DeviceCapabilityAlarmsEntity? get alarms; DeviceCapabilityAppUsageEntity? get appUsageSchedules; DeviceCapabilityEnabledEntity? get keyboard; DeviceCapabilityEnabledEntity? get nightMode; DeviceCapabilityEnabledEntity? get wifi; DeviceCapabilityEnabledEntity? get deviceBackground; DeviceCapabilityVolumeEntity? get volume; String? get system;
DeviceCapabilityOptionEntity? get heartbeats; DeviceCapabilityEnabledEntity? get bloodPressure; DeviceCapabilityAlertsEntity? get alerts; DeviceCapabilityEnabledEntity? get podometer; DeviceCapabilityContactsEntity? get contacts; DeviceCapabilitySettingsEntity? get settings; DeviceCapabilityCommandsEntity? get commands; DeviceCapabilityTakepillsEntity? get takepills; DeviceCapabilityOptionEntity? get location; DeviceCapabilityCameraEntity? get camera; DeviceCapabilityDoNotDisturbEntity? get doNotDisturbs; DeviceCapabilityAlarmsEntity? get alarms; DeviceCapabilityAppUsageEntity? get appUsageSchedules; DeviceCapabilityEnabledEntity? get keyboard; DeviceCapabilityEnabledEntity? get nightMode; DeviceCapabilityEnabledEntity? get wifi; DeviceCapabilityEnabledEntity? get deviceBackground; DeviceCapabilityVolumeEntity? get volume;
/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@@ -25,16 +25,16 @@ $DeviceCapabilitiesEntityCopyWith<DeviceCapabilitiesEntity> get copyWith => _$De
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesEntity&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume)&&(identical(other.system, system) || other.system == system));
return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesEntity&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume));
}
@override
int get hashCode => Object.hashAll([runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume,system]);
int get hashCode => Object.hash(runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume);
@override
String toString() {
return 'DeviceCapabilitiesEntity(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume, system: $system)';
return 'DeviceCapabilitiesEntity(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume)';
}
@@ -45,7 +45,7 @@ abstract mixin class $DeviceCapabilitiesEntityCopyWith<$Res> {
factory $DeviceCapabilitiesEntityCopyWith(DeviceCapabilitiesEntity value, $Res Function(DeviceCapabilitiesEntity) _then) = _$DeviceCapabilitiesEntityCopyWithImpl;
@useResult
$Res call({
DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume, String? system
DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume
});
@@ -62,7 +62,7 @@ class _$DeviceCapabilitiesEntityCopyWithImpl<$Res>
/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,Object? system = freezed,}) {
@pragma('vm:prefer-inline') @override $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,}) {
return _then(_self.copyWith(
heartbeats: freezed == heartbeats ? _self.heartbeats : heartbeats // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityOptionEntity?,bloodPressure: freezed == bloodPressure ? _self.bloodPressure : bloodPressure // ignore: cast_nullable_to_non_nullable
@@ -82,8 +82,7 @@ as DeviceCapabilityEnabledEntity?,nightMode: freezed == nightMode ? _self.nightM
as DeviceCapabilityEnabledEntity?,wifi: freezed == wifi ? _self.wifi : wifi // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledEntity?,deviceBackground: freezed == deviceBackground ? _self.deviceBackground : deviceBackground // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledEntity?,volume: freezed == volume ? _self.volume : volume // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityVolumeEntity?,system: freezed == system ? _self.system : system // ignore: cast_nullable_to_non_nullable
as String?,
as DeviceCapabilityVolumeEntity?,
));
}
/// Create a copy of DeviceCapabilitiesEntity
@@ -384,10 +383,10 @@ return $default(_that);case _:
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume, String? system)? $default,{required TResult orElse(),}) {final _that = this;
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity() when $default != null:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume,_that.system);case _:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume);case _:
return orElse();
}
@@ -405,10 +404,10 @@ return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podomete
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume, String? system) $default,) {final _that = this;
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume) $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity():
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume,_that.system);case _:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume);case _:
throw StateError('Unexpected subclass');
}
@@ -425,10 +424,10 @@ return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podomete
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume, String? system)? $default,) {final _that = this;
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume)? $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity() when $default != null:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume,_that.system);case _:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.settings,_that.commands,_that.takepills,_that.location,_that.camera,_that.doNotDisturbs,_that.alarms,_that.appUsageSchedules,_that.keyboard,_that.nightMode,_that.wifi,_that.deviceBackground,_that.volume);case _:
return null;
}
@@ -440,7 +439,7 @@ return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podomete
class _DeviceCapabilitiesEntity implements DeviceCapabilitiesEntity {
const _DeviceCapabilitiesEntity({this.heartbeats, this.bloodPressure, this.alerts, this.podometer, this.contacts, this.settings, this.commands, this.takepills, this.location, this.camera, this.doNotDisturbs, this.alarms, this.appUsageSchedules, this.keyboard, this.nightMode, this.wifi, this.deviceBackground, this.volume, this.system});
const _DeviceCapabilitiesEntity({this.heartbeats, this.bloodPressure, this.alerts, this.podometer, this.contacts, this.settings, this.commands, this.takepills, this.location, this.camera, this.doNotDisturbs, this.alarms, this.appUsageSchedules, this.keyboard, this.nightMode, this.wifi, this.deviceBackground, this.volume});
@override final DeviceCapabilityOptionEntity? heartbeats;
@@ -461,7 +460,6 @@ class _DeviceCapabilitiesEntity implements DeviceCapabilitiesEntity {
@override final DeviceCapabilityEnabledEntity? wifi;
@override final DeviceCapabilityEnabledEntity? deviceBackground;
@override final DeviceCapabilityVolumeEntity? volume;
@override final String? system;
/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@@ -473,16 +471,16 @@ _$DeviceCapabilitiesEntityCopyWith<_DeviceCapabilitiesEntity> get copyWith => __
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesEntity&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume)&&(identical(other.system, system) || other.system == system));
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesEntity&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.takepills, takepills) || other.takepills == takepills)&&(identical(other.location, location) || other.location == location)&&(identical(other.camera, camera) || other.camera == camera)&&(identical(other.doNotDisturbs, doNotDisturbs) || other.doNotDisturbs == doNotDisturbs)&&(identical(other.alarms, alarms) || other.alarms == alarms)&&(identical(other.appUsageSchedules, appUsageSchedules) || other.appUsageSchedules == appUsageSchedules)&&(identical(other.keyboard, keyboard) || other.keyboard == keyboard)&&(identical(other.nightMode, nightMode) || other.nightMode == nightMode)&&(identical(other.wifi, wifi) || other.wifi == wifi)&&(identical(other.deviceBackground, deviceBackground) || other.deviceBackground == deviceBackground)&&(identical(other.volume, volume) || other.volume == volume));
}
@override
int get hashCode => Object.hashAll([runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume,system]);
int get hashCode => Object.hash(runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,settings,commands,takepills,location,camera,doNotDisturbs,alarms,appUsageSchedules,keyboard,nightMode,wifi,deviceBackground,volume);
@override
String toString() {
return 'DeviceCapabilitiesEntity(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume, system: $system)';
return 'DeviceCapabilitiesEntity(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, settings: $settings, commands: $commands, takepills: $takepills, location: $location, camera: $camera, doNotDisturbs: $doNotDisturbs, alarms: $alarms, appUsageSchedules: $appUsageSchedules, keyboard: $keyboard, nightMode: $nightMode, wifi: $wifi, deviceBackground: $deviceBackground, volume: $volume)';
}
@@ -493,7 +491,7 @@ abstract mixin class _$DeviceCapabilitiesEntityCopyWith<$Res> implements $Device
factory _$DeviceCapabilitiesEntityCopyWith(_DeviceCapabilitiesEntity value, $Res Function(_DeviceCapabilitiesEntity) _then) = __$DeviceCapabilitiesEntityCopyWithImpl;
@override @useResult
$Res call({
DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume, String? system
DeviceCapabilityOptionEntity? heartbeats, DeviceCapabilityEnabledEntity? bloodPressure, DeviceCapabilityAlertsEntity? alerts, DeviceCapabilityEnabledEntity? podometer, DeviceCapabilityContactsEntity? contacts, DeviceCapabilitySettingsEntity? settings, DeviceCapabilityCommandsEntity? commands, DeviceCapabilityTakepillsEntity? takepills, DeviceCapabilityOptionEntity? location, DeviceCapabilityCameraEntity? camera, DeviceCapabilityDoNotDisturbEntity? doNotDisturbs, DeviceCapabilityAlarmsEntity? alarms, DeviceCapabilityAppUsageEntity? appUsageSchedules, DeviceCapabilityEnabledEntity? keyboard, DeviceCapabilityEnabledEntity? nightMode, DeviceCapabilityEnabledEntity? wifi, DeviceCapabilityEnabledEntity? deviceBackground, DeviceCapabilityVolumeEntity? volume
});
@@ -510,7 +508,7 @@ class __$DeviceCapabilitiesEntityCopyWithImpl<$Res>
/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,Object? system = freezed,}) {
@override @pragma('vm:prefer-inline') $Res call({Object? heartbeats = freezed,Object? bloodPressure = freezed,Object? alerts = freezed,Object? podometer = freezed,Object? contacts = freezed,Object? settings = freezed,Object? commands = freezed,Object? takepills = freezed,Object? location = freezed,Object? camera = freezed,Object? doNotDisturbs = freezed,Object? alarms = freezed,Object? appUsageSchedules = freezed,Object? keyboard = freezed,Object? nightMode = freezed,Object? wifi = freezed,Object? deviceBackground = freezed,Object? volume = freezed,}) {
return _then(_DeviceCapabilitiesEntity(
heartbeats: freezed == heartbeats ? _self.heartbeats : heartbeats // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityOptionEntity?,bloodPressure: freezed == bloodPressure ? _self.bloodPressure : bloodPressure // ignore: cast_nullable_to_non_nullable
@@ -530,8 +528,7 @@ as DeviceCapabilityEnabledEntity?,nightMode: freezed == nightMode ? _self.nightM
as DeviceCapabilityEnabledEntity?,wifi: freezed == wifi ? _self.wifi : wifi // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledEntity?,deviceBackground: freezed == deviceBackground ? _self.deviceBackground : deviceBackground // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityEnabledEntity?,volume: freezed == volume ? _self.volume : volume // ignore: cast_nullable_to_non_nullable
as DeviceCapabilityVolumeEntity?,system: freezed == system ? _self.system : system // ignore: cast_nullable_to_non_nullable
as String?,
as DeviceCapabilityVolumeEntity?,
));
}

View File

@@ -14,7 +14,7 @@ T _$identity<T>(T value) => value;
/// @nodoc
mixin _$DeviceEntity {
String get id; String get identificator; int? get battery; String? get userId; String? get companyId; String? get delegationId; String? get groupId; Map<String, dynamic> get flags; List<String>? get tags; String? get lastConnection; String? get carrierGenre; String? get carrierBirthday; int? get carrierWeight; int? get carrierStepLength; String? get carrierName; String? get comment; String? get phone; String? get simId; Map<String, dynamic>? get paymentOptions; DeviceSettingsEntity get settings; String get connectionServer; String get protocol; String get type; String? get imei; bool get queueCommands; DeviceCapabilitiesEntity? get capabilities; String? get backgroundImageId; String get createdAt; String? get updatedAt;
String get id; String get identificator; int? get battery; String? get userId; String? get companyId; String? get delegationId; String? get groupId; Map<String, dynamic> get flags; List<String>? get tags; String? get lastConnection; String? get carrierGenre; String? get carrierBirthday; int? get carrierWeight; int? get carrierStepLength; String? get carrierName; String? get comment; String? get phone; String? get simId; Map<String, dynamic>? get paymentOptions; DeviceSettingsEntity get settings; String get connectionServer; String get protocol; String get type; bool get queueCommands; DeviceCapabilitiesEntity? get capabilities; String? get backgroundImageId; String get createdAt; String? get updatedAt;
/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@@ -25,16 +25,16 @@ $DeviceEntityCopyWith<DeviceEntity> get copyWith => _$DeviceEntityCopyWithImpl<D
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.companyId, companyId) || other.companyId == companyId)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.groupId, groupId) || other.groupId == groupId)&&const DeepCollectionEquality().equals(other.flags, flags)&&const DeepCollectionEquality().equals(other.tags, tags)&&(identical(other.lastConnection, lastConnection) || other.lastConnection == lastConnection)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.comment, comment) || other.comment == comment)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.simId, simId) || other.simId == simId)&&const DeepCollectionEquality().equals(other.paymentOptions, paymentOptions)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.imei, imei) || other.imei == imei)&&(identical(other.queueCommands, queueCommands) || other.queueCommands == queueCommands)&&(identical(other.capabilities, capabilities) || other.capabilities == capabilities)&&(identical(other.backgroundImageId, backgroundImageId) || other.backgroundImageId == backgroundImageId)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt));
return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.companyId, companyId) || other.companyId == companyId)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.groupId, groupId) || other.groupId == groupId)&&const DeepCollectionEquality().equals(other.flags, flags)&&const DeepCollectionEquality().equals(other.tags, tags)&&(identical(other.lastConnection, lastConnection) || other.lastConnection == lastConnection)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.comment, comment) || other.comment == comment)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.simId, simId) || other.simId == simId)&&const DeepCollectionEquality().equals(other.paymentOptions, paymentOptions)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.queueCommands, queueCommands) || other.queueCommands == queueCommands)&&(identical(other.capabilities, capabilities) || other.capabilities == capabilities)&&(identical(other.backgroundImageId, backgroundImageId) || other.backgroundImageId == backgroundImageId)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt));
}
@override
int get hashCode => Object.hashAll([runtimeType,id,identificator,battery,userId,companyId,delegationId,groupId,const DeepCollectionEquality().hash(flags),const DeepCollectionEquality().hash(tags),lastConnection,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,comment,phone,simId,const DeepCollectionEquality().hash(paymentOptions),settings,connectionServer,protocol,type,imei,queueCommands,capabilities,backgroundImageId,createdAt,updatedAt]);
int get hashCode => Object.hashAll([runtimeType,id,identificator,battery,userId,companyId,delegationId,groupId,const DeepCollectionEquality().hash(flags),const DeepCollectionEquality().hash(tags),lastConnection,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,comment,phone,simId,const DeepCollectionEquality().hash(paymentOptions),settings,connectionServer,protocol,type,queueCommands,capabilities,backgroundImageId,createdAt,updatedAt]);
@override
String toString() {
return 'DeviceEntity(id: $id, identificator: $identificator, battery: $battery, userId: $userId, companyId: $companyId, delegationId: $delegationId, groupId: $groupId, flags: $flags, tags: $tags, lastConnection: $lastConnection, carrierGenre: $carrierGenre, carrierBirthday: $carrierBirthday, carrierWeight: $carrierWeight, carrierStepLength: $carrierStepLength, carrierName: $carrierName, comment: $comment, phone: $phone, simId: $simId, paymentOptions: $paymentOptions, settings: $settings, connectionServer: $connectionServer, protocol: $protocol, type: $type, imei: $imei, queueCommands: $queueCommands, capabilities: $capabilities, backgroundImageId: $backgroundImageId, createdAt: $createdAt, updatedAt: $updatedAt)';
return 'DeviceEntity(id: $id, identificator: $identificator, battery: $battery, userId: $userId, companyId: $companyId, delegationId: $delegationId, groupId: $groupId, flags: $flags, tags: $tags, lastConnection: $lastConnection, carrierGenre: $carrierGenre, carrierBirthday: $carrierBirthday, carrierWeight: $carrierWeight, carrierStepLength: $carrierStepLength, carrierName: $carrierName, comment: $comment, phone: $phone, simId: $simId, paymentOptions: $paymentOptions, settings: $settings, connectionServer: $connectionServer, protocol: $protocol, type: $type, queueCommands: $queueCommands, capabilities: $capabilities, backgroundImageId: $backgroundImageId, createdAt: $createdAt, updatedAt: $updatedAt)';
}
@@ -45,7 +45,7 @@ abstract mixin class $DeviceEntityCopyWith<$Res> {
factory $DeviceEntityCopyWith(DeviceEntity value, $Res Function(DeviceEntity) _then) = _$DeviceEntityCopyWithImpl;
@useResult
$Res call({
String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, String? imei, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt
String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt
});
@@ -62,7 +62,7 @@ class _$DeviceEntityCopyWithImpl<$Res>
/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? identificator = null,Object? battery = freezed,Object? userId = freezed,Object? companyId = freezed,Object? delegationId = freezed,Object? groupId = freezed,Object? flags = null,Object? tags = freezed,Object? lastConnection = freezed,Object? carrierGenre = freezed,Object? carrierBirthday = freezed,Object? carrierWeight = freezed,Object? carrierStepLength = freezed,Object? carrierName = freezed,Object? comment = freezed,Object? phone = freezed,Object? simId = freezed,Object? paymentOptions = freezed,Object? settings = null,Object? connectionServer = null,Object? protocol = null,Object? type = null,Object? imei = freezed,Object? queueCommands = null,Object? capabilities = freezed,Object? backgroundImageId = freezed,Object? createdAt = null,Object? updatedAt = freezed,}) {
@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? identificator = null,Object? battery = freezed,Object? userId = freezed,Object? companyId = freezed,Object? delegationId = freezed,Object? groupId = freezed,Object? flags = null,Object? tags = freezed,Object? lastConnection = freezed,Object? carrierGenre = freezed,Object? carrierBirthday = freezed,Object? carrierWeight = freezed,Object? carrierStepLength = freezed,Object? carrierName = freezed,Object? comment = freezed,Object? phone = freezed,Object? simId = freezed,Object? paymentOptions = freezed,Object? settings = null,Object? connectionServer = null,Object? protocol = null,Object? type = null,Object? queueCommands = null,Object? capabilities = freezed,Object? backgroundImageId = freezed,Object? createdAt = null,Object? updatedAt = freezed,}) {
return _then(_self.copyWith(
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String,identificator: null == identificator ? _self.identificator : identificator // ignore: cast_nullable_to_non_nullable
@@ -87,8 +87,7 @@ as Map<String, dynamic>?,settings: null == settings ? _self.settings : settings
as DeviceSettingsEntity,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable
as String,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable
as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String,imei: freezed == imei ? _self.imei : imei // ignore: cast_nullable_to_non_nullable
as String?,queueCommands: null == queueCommands ? _self.queueCommands : queueCommands // ignore: cast_nullable_to_non_nullable
as String,queueCommands: null == queueCommands ? _self.queueCommands : queueCommands // ignore: cast_nullable_to_non_nullable
as bool,capabilities: freezed == capabilities ? _self.capabilities : capabilities // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesEntity?,backgroundImageId: freezed == backgroundImageId ? _self.backgroundImageId : backgroundImageId // ignore: cast_nullable_to_non_nullable
as String?,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable
@@ -199,10 +198,10 @@ return $default(_that);case _:
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, String? imei, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt)? $default,{required TResult orElse(),}) {final _that = this;
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceEntity() when $default != null:
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.paymentOptions,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.imei,_that.queueCommands,_that.capabilities,_that.backgroundImageId,_that.createdAt,_that.updatedAt);case _:
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.paymentOptions,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.queueCommands,_that.capabilities,_that.backgroundImageId,_that.createdAt,_that.updatedAt);case _:
return orElse();
}
@@ -220,10 +219,10 @@ return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.co
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, String? imei, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt) $default,) {final _that = this;
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt) $default,) {final _that = this;
switch (_that) {
case _DeviceEntity():
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.paymentOptions,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.imei,_that.queueCommands,_that.capabilities,_that.backgroundImageId,_that.createdAt,_that.updatedAt);case _:
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.paymentOptions,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.queueCommands,_that.capabilities,_that.backgroundImageId,_that.createdAt,_that.updatedAt);case _:
throw StateError('Unexpected subclass');
}
@@ -240,10 +239,10 @@ return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.co
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, String? imei, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt)? $default,) {final _that = this;
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt)? $default,) {final _that = this;
switch (_that) {
case _DeviceEntity() when $default != null:
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.paymentOptions,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.imei,_that.queueCommands,_that.capabilities,_that.backgroundImageId,_that.createdAt,_that.updatedAt);case _:
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.paymentOptions,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.queueCommands,_that.capabilities,_that.backgroundImageId,_that.createdAt,_that.updatedAt);case _:
return null;
}
@@ -255,7 +254,7 @@ return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.co
class _DeviceEntity implements DeviceEntity {
const _DeviceEntity({required this.id, required this.identificator, this.battery, this.userId, this.companyId, this.delegationId, this.groupId, final Map<String, dynamic> flags = const {}, final List<String>? tags, this.lastConnection, this.carrierGenre, this.carrierBirthday, this.carrierWeight, this.carrierStepLength, this.carrierName, this.comment, this.phone, this.simId, final Map<String, dynamic>? paymentOptions, this.settings = const DeviceSettingsEntity(), this.connectionServer = '', this.protocol = '', this.type = '', this.imei, this.queueCommands = false, this.capabilities, this.backgroundImageId, this.createdAt = '', this.updatedAt}): _flags = flags,_tags = tags,_paymentOptions = paymentOptions;
const _DeviceEntity({required this.id, required this.identificator, this.battery, this.userId, this.companyId, this.delegationId, this.groupId, final Map<String, dynamic> flags = const {}, final List<String>? tags, this.lastConnection, this.carrierGenre, this.carrierBirthday, this.carrierWeight, this.carrierStepLength, this.carrierName, this.comment, this.phone, this.simId, final Map<String, dynamic>? paymentOptions, this.settings = const DeviceSettingsEntity(), this.connectionServer = '', this.protocol = '', this.type = '', this.queueCommands = false, this.capabilities, this.backgroundImageId, this.createdAt = '', this.updatedAt}): _flags = flags,_tags = tags,_paymentOptions = paymentOptions;
@override final String id;
@@ -303,7 +302,6 @@ class _DeviceEntity implements DeviceEntity {
@override@JsonKey() final String connectionServer;
@override@JsonKey() final String protocol;
@override@JsonKey() final String type;
@override final String? imei;
@override@JsonKey() final bool queueCommands;
@override final DeviceCapabilitiesEntity? capabilities;
@override final String? backgroundImageId;
@@ -320,16 +318,16 @@ _$DeviceEntityCopyWith<_DeviceEntity> get copyWith => __$DeviceEntityCopyWithImp
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.companyId, companyId) || other.companyId == companyId)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.groupId, groupId) || other.groupId == groupId)&&const DeepCollectionEquality().equals(other._flags, _flags)&&const DeepCollectionEquality().equals(other._tags, _tags)&&(identical(other.lastConnection, lastConnection) || other.lastConnection == lastConnection)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.comment, comment) || other.comment == comment)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.simId, simId) || other.simId == simId)&&const DeepCollectionEquality().equals(other._paymentOptions, _paymentOptions)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.imei, imei) || other.imei == imei)&&(identical(other.queueCommands, queueCommands) || other.queueCommands == queueCommands)&&(identical(other.capabilities, capabilities) || other.capabilities == capabilities)&&(identical(other.backgroundImageId, backgroundImageId) || other.backgroundImageId == backgroundImageId)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt));
return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.companyId, companyId) || other.companyId == companyId)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.groupId, groupId) || other.groupId == groupId)&&const DeepCollectionEquality().equals(other._flags, _flags)&&const DeepCollectionEquality().equals(other._tags, _tags)&&(identical(other.lastConnection, lastConnection) || other.lastConnection == lastConnection)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.comment, comment) || other.comment == comment)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.simId, simId) || other.simId == simId)&&const DeepCollectionEquality().equals(other._paymentOptions, _paymentOptions)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.queueCommands, queueCommands) || other.queueCommands == queueCommands)&&(identical(other.capabilities, capabilities) || other.capabilities == capabilities)&&(identical(other.backgroundImageId, backgroundImageId) || other.backgroundImageId == backgroundImageId)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt));
}
@override
int get hashCode => Object.hashAll([runtimeType,id,identificator,battery,userId,companyId,delegationId,groupId,const DeepCollectionEquality().hash(_flags),const DeepCollectionEquality().hash(_tags),lastConnection,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,comment,phone,simId,const DeepCollectionEquality().hash(_paymentOptions),settings,connectionServer,protocol,type,imei,queueCommands,capabilities,backgroundImageId,createdAt,updatedAt]);
int get hashCode => Object.hashAll([runtimeType,id,identificator,battery,userId,companyId,delegationId,groupId,const DeepCollectionEquality().hash(_flags),const DeepCollectionEquality().hash(_tags),lastConnection,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,comment,phone,simId,const DeepCollectionEquality().hash(_paymentOptions),settings,connectionServer,protocol,type,queueCommands,capabilities,backgroundImageId,createdAt,updatedAt]);
@override
String toString() {
return 'DeviceEntity(id: $id, identificator: $identificator, battery: $battery, userId: $userId, companyId: $companyId, delegationId: $delegationId, groupId: $groupId, flags: $flags, tags: $tags, lastConnection: $lastConnection, carrierGenre: $carrierGenre, carrierBirthday: $carrierBirthday, carrierWeight: $carrierWeight, carrierStepLength: $carrierStepLength, carrierName: $carrierName, comment: $comment, phone: $phone, simId: $simId, paymentOptions: $paymentOptions, settings: $settings, connectionServer: $connectionServer, protocol: $protocol, type: $type, imei: $imei, queueCommands: $queueCommands, capabilities: $capabilities, backgroundImageId: $backgroundImageId, createdAt: $createdAt, updatedAt: $updatedAt)';
return 'DeviceEntity(id: $id, identificator: $identificator, battery: $battery, userId: $userId, companyId: $companyId, delegationId: $delegationId, groupId: $groupId, flags: $flags, tags: $tags, lastConnection: $lastConnection, carrierGenre: $carrierGenre, carrierBirthday: $carrierBirthday, carrierWeight: $carrierWeight, carrierStepLength: $carrierStepLength, carrierName: $carrierName, comment: $comment, phone: $phone, simId: $simId, paymentOptions: $paymentOptions, settings: $settings, connectionServer: $connectionServer, protocol: $protocol, type: $type, queueCommands: $queueCommands, capabilities: $capabilities, backgroundImageId: $backgroundImageId, createdAt: $createdAt, updatedAt: $updatedAt)';
}
@@ -340,7 +338,7 @@ abstract mixin class _$DeviceEntityCopyWith<$Res> implements $DeviceEntityCopyWi
factory _$DeviceEntityCopyWith(_DeviceEntity value, $Res Function(_DeviceEntity) _then) = __$DeviceEntityCopyWithImpl;
@override @useResult
$Res call({
String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, String? imei, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt
String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, Map<String, dynamic> flags, List<String>? tags, String? lastConnection, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String? carrierName, String? comment, String? phone, String? simId, Map<String, dynamic>? paymentOptions, DeviceSettingsEntity settings, String connectionServer, String protocol, String type, bool queueCommands, DeviceCapabilitiesEntity? capabilities, String? backgroundImageId, String createdAt, String? updatedAt
});
@@ -357,7 +355,7 @@ class __$DeviceEntityCopyWithImpl<$Res>
/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? identificator = null,Object? battery = freezed,Object? userId = freezed,Object? companyId = freezed,Object? delegationId = freezed,Object? groupId = freezed,Object? flags = null,Object? tags = freezed,Object? lastConnection = freezed,Object? carrierGenre = freezed,Object? carrierBirthday = freezed,Object? carrierWeight = freezed,Object? carrierStepLength = freezed,Object? carrierName = freezed,Object? comment = freezed,Object? phone = freezed,Object? simId = freezed,Object? paymentOptions = freezed,Object? settings = null,Object? connectionServer = null,Object? protocol = null,Object? type = null,Object? imei = freezed,Object? queueCommands = null,Object? capabilities = freezed,Object? backgroundImageId = freezed,Object? createdAt = null,Object? updatedAt = freezed,}) {
@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? identificator = null,Object? battery = freezed,Object? userId = freezed,Object? companyId = freezed,Object? delegationId = freezed,Object? groupId = freezed,Object? flags = null,Object? tags = freezed,Object? lastConnection = freezed,Object? carrierGenre = freezed,Object? carrierBirthday = freezed,Object? carrierWeight = freezed,Object? carrierStepLength = freezed,Object? carrierName = freezed,Object? comment = freezed,Object? phone = freezed,Object? simId = freezed,Object? paymentOptions = freezed,Object? settings = null,Object? connectionServer = null,Object? protocol = null,Object? type = null,Object? queueCommands = null,Object? capabilities = freezed,Object? backgroundImageId = freezed,Object? createdAt = null,Object? updatedAt = freezed,}) {
return _then(_DeviceEntity(
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String,identificator: null == identificator ? _self.identificator : identificator // ignore: cast_nullable_to_non_nullable
@@ -382,8 +380,7 @@ as Map<String, dynamic>?,settings: null == settings ? _self.settings : settings
as DeviceSettingsEntity,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable
as String,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable
as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String,imei: freezed == imei ? _self.imei : imei // ignore: cast_nullable_to_non_nullable
as String?,queueCommands: null == queueCommands ? _self.queueCommands : queueCommands // ignore: cast_nullable_to_non_nullable
as String,queueCommands: null == queueCommands ? _self.queueCommands : queueCommands // ignore: cast_nullable_to_non_nullable
as bool,capabilities: freezed == capabilities ? _self.capabilities : capabilities // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesEntity?,backgroundImageId: freezed == backgroundImageId ? _self.backgroundImageId : backgroundImageId // ignore: cast_nullable_to_non_nullable
as String?,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable