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<
Creates a contains filter condition with compile-time type safety. Typically used with String fields.T> , provided by the FieldSelectorExtensions extension -
endsWith(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates an ends with filter condition with compile-time type safety. Typically used with String fields.T> , provided by the FieldSelectorExtensions extension -
equals(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates an equals filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
greaterThan(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates a greater than filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
greaterThanOrEqual(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates a greater than or equal filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
inList(
List< T> values) → FilterCondition<T> -
Available on FieldSelector<
Creates an in list filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
isNotNull(
) → FilterCondition< T> -
Available on FieldSelector<
Creates an is not null filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
isNull(
) → FilterCondition< T> -
Available on FieldSelector<
Creates an is null filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
lessThan(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates a less than filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
lessThanOrEqual(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates a less than or equal filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates a not equals filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
notInList(
List< T> values) → FilterCondition<T> -
Available on FieldSelector<
Creates a not in list filter condition with compile-time type safety.T> , provided by the FieldSelectorExtensions extension -
startsWith(
T value) → FilterCondition< T> -
Available on FieldSelector<
Creates a starts with filter condition with compile-time type safety. Typically used with String fields.T> , provided by the FieldSelectorExtensions extension -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override