EqualsFilter class

Filter to check if a GridField's value is equal to value

Note: previously this was used to check for the value of Fields with DataType.createdBy. If you for example used a EqualsFilter with LoggedInUser please switch to a ActorFilter

Inheritance

Constructors

EqualsFilter({required String fieldId, required FilterableMixin value})
Creates a Filter that checks if DataEntity.value equals the fieldId GridField
const

Properties

fieldId String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
operator → _FieldOperator
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value FilterableMixin
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Creates a Map Object that can be send to the Backend. (Should be json encoded)
inherited
toString() String
A string representation of this object.
inherited

Operators

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