TextFilter class

Inheritance
Annotations
  • @immutable

Constructors

TextFilter.new(String property, {bool isFormulaProperty = false, String? equals, String? doesNotEqual, String? contains, String? doesNotContain, String? startsWith, String? endsWith, bool? isEmpty, bool? isNotEmpty})

Properties

contains String?
final
doesNotContain String?
final
doesNotEqual String?
final
endsWith String?
final
equals String?
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
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
startsWith String?
final

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