copyWith method Null safety
inherited
Implementation
DeviceSettingsModel copyWith(
{bool? ignoringBatteryOptimizations,
bool? isPowerSaving,
bool? gpsEnabled}) {
return DeviceSettingsModel(
ignoringBatteryOptimizations:
ignoringBatteryOptimizations ?? this.ignoringBatteryOptimizations,
isPowerSaving: isPowerSaving ?? this.isPowerSaving,
gpsEnabled: gpsEnabled ?? this.gpsEnabled,
);
}