NumberFilter class

Inheritance
Annotations
  • @immutable

Constructors

NumberFilter.new(String property, {bool isFormulaProperty = false, num? equals, num? doesNotEqual, num? greaterThan, num? lessThan, num? greaterThanOrEqualTo, num? lessThanOrEqualTo, bool? isEmpty, bool? isNotEmpty})

Properties

doesNotEqual num?
final
equals num?
final
greaterThan num?
final
greaterThanOrEqualTo num?
final
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool?
final
isFormulaProperty bool
Indicates whether this filter is being applied to a formula property.
finalinherited
isNotEmpty bool?
final
lessThan num?
final
lessThanOrEqualTo num?
final
property String
The name or ID of the property this filter applies to.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts the filter to a map representation compatible with the Notion API.
inherited
toMapWithoutPropertyKey() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
wrapInFormula(Map<String, dynamic> filterMap) Map<String, dynamic>
Wraps the given filterMap in a 'formula' object if isFormulaProperty is true.
inherited

Operators

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