Condition class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

Condition({required String name, String? description, required String deviceModelId, String? icon, required String field, required ConditionCondition condition, String? value, String? leftValue, String? rightValue, List<String>? values, String? id, required String $id, int? cstamp, String? cby, String? uby, int? ustamp})
const
Condition.fromJson(Map<String, dynamic> json)
factory

Properties

$id String
final
cby String?
final
condition ConditionCondition
final
cstamp int?
final
description String?
final
deviceModelId String
final
field String
final
hashCode int
The hash code for this object.
no setteroverride
icon String?
final
id String?
final
leftValue String?
final
name String
final
rightValue String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uby String?
final
ustamp int?
final
value String?
final
values List<String>?
final

Methods

copyWith({String? name, String? description, String? deviceModelId, String? icon, String? field, ConditionCondition? condition, String? value, String? leftValue, String? rightValue, List<String>? values, String? id, String? $id, int? cstamp, String? cby, String? uby, int? ustamp}) Condition

Available on Condition, provided by the $ConditionExtension extension

copyWithWrapped({Wrapped<String>? name, Wrapped<String?>? description, Wrapped<String>? deviceModelId, Wrapped<String?>? icon, Wrapped<String>? field, Wrapped<ConditionCondition>? condition, Wrapped<String?>? value, Wrapped<String?>? leftValue, Wrapped<String?>? rightValue, Wrapped<List<String>?>? values, Wrapped<String?>? id, Wrapped<String>? $id, Wrapped<int?>? cstamp, Wrapped<String?>? cby, Wrapped<String?>? uby, Wrapped<int?>? ustamp}) Condition

Available on Condition, provided by the $ConditionExtension 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 Condition Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Condition instance)