Rule class final

RadarRule

Implemented types

Constructors

Rule({required String action, required String id, required String predicate})
RadarRule
const
Rule.fromJson(Object? json)
factory

Properties

action → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID of the Rule.
final
predicate → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

encode<V>(Rule instance, Encoder<V> encoder) → V
override