FieldSelector<T> class

Base class for typed field selectors.

This provides compile-time safety for field access and type checking.

Available extensions

Constructors

FieldSelector(String fieldName, Type fieldType)
Creates a new field selector
const

Properties

fieldName String
The string name of the field as it appears in the database
final
fieldType Type
The Dart type of the field for compile-time type checking
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contains(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a contains filter condition with compile-time type safety. Typically used with String fields.
endsWith(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates an ends with filter condition with compile-time type safety. Typically used with String fields.
equals(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates an equals filter condition with compile-time type safety.
greaterThan(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a greater than filter condition with compile-time type safety.
greaterThanOrEqual(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a greater than or equal filter condition with compile-time type safety.
inList(List<T> values) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates an in list filter condition with compile-time type safety.
isNotNull() FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates an is not null filter condition with compile-time type safety.
isNull() FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates an is null filter condition with compile-time type safety.
lessThan(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a less than filter condition with compile-time type safety.
lessThanOrEqual(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a less than or equal filter condition with compile-time type safety.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a not equals filter condition with compile-time type safety.
notInList(List<T> values) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a not in list filter condition with compile-time type safety.
startsWith(T value) FilterCondition<T>

Available on FieldSelector<T>, provided by the FieldSelectorExtensions extension

Creates a starts with filter condition with compile-time type safety. Typically used with String fields.
toString() String
A string representation of this object.
override

Operators

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