FieldMatch class final

Compares one PeerField against value.

Inheritance

Constructors

FieldMatch(PeerField field, MatchOp op, Object value)
const
FieldMatch.equals(PeerField field, Object value)
Shorthand for the overwhelmingly common case.
const

Properties

field → PeerField
final
hashCode → int
The hash code for this object.
no setterinherited
op → MatchOp
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Object
A String for every field except PeerField.randomRoll, which takes a double.
final

Methods

matches(PeerDescriptor peer) → bool
Whether peer satisfies this query.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
override

Operators

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