Alarm class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
-
Alarm({required String name, String? description, required String deviceModelId, required String activeIcon, required String inactiveIcon, required List<
MatchGroup> conditions, String? id, required String $id, int? cstamp, String? cby, String? uby, int? ustamp}) -
const
-
Alarm.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $id → String
-
final
- activeIcon → String
-
final
- cby → String?
-
final
-
conditions
→ List<
MatchGroup> -
final
- cstamp → int?
-
final
- description → String?
-
final
- deviceModelId → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
final
- inactiveIcon → String
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uby → String?
-
final
- ustamp → int?
-
final
Methods
-
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}) → Alarm -
Available on Alarm, provided by the $AlarmExtension extension
-
copyWithWrapped(
{Wrapped< String> ? name, Wrapped<String?> ? description, Wrapped<String> ? deviceModelId, Wrapped<String> ? activeIcon, Wrapped<String> ? inactiveIcon, Wrapped<List< ? conditions, Wrapped<MatchGroup> >String?> ? id, Wrapped<String> ? $id, Wrapped<int?> ? cstamp, Wrapped<String?> ? cby, Wrapped<String?> ? uby, Wrapped<int?> ? ustamp}) → Alarm -
Available on Alarm, provided by the $AlarmExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const Alarm Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Alarm instance)