copyWith method
Alarm
copyWith(
{ - String? name,
- String? description,
- String? deviceModelId,
- String? activeIcon,
- String? inactiveIcon,
- List<MatchGroup>? conditions,
- String? id,
- String? $id,
- int? cstamp,
- String? cby,
- String? uby,
- int? ustamp,
})
Implementation
Alarm copyWith(
{String? name,
String? description,
String? deviceModelId,
String? activeIcon,
String? inactiveIcon,
List<MatchGroup>? conditions,
String? id,
String? $id,
int? cstamp,
String? cby,
String? uby,
int? ustamp}) {
return Alarm(
name: name ?? this.name,
description: description ?? this.description,
deviceModelId: deviceModelId ?? this.deviceModelId,
activeIcon: activeIcon ?? this.activeIcon,
inactiveIcon: inactiveIcon ?? this.inactiveIcon,
conditions: conditions ?? this.conditions,
id: id ?? this.id,
$id: $id ?? this.$id,
cstamp: cstamp ?? this.cstamp,
cby: cby ?? this.cby,
uby: uby ?? this.uby,
ustamp: ustamp ?? this.ustamp);
}