Filters class

Run flutter packages pub run build_runner build in order to changes take effect

Annotations
  • @JsonSerializable()

Constructors

Filters({String? key})
Filters.fromJson(Map<String, dynamic> json)
factory

Properties

boolFilters List<BoolFilter>
getter/setter pair
dateFilters List<DateFilter>
getter/setter pair
enumFilters List<EnumFilter>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
key String?
getter/setter pair
numberFilters List<NumberFilter>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textFilters List<TextFilter>
getter/setter pair

Methods

addFilter(Filter<Object, dynamic> filter) Filters
build() Map<String, dynamic>
clear() Filters
fromJsonList(List? jsonList) List<Filters>?
inherited
fromJsonMap(Map<String, dynamic>? json) Filters?
fromJsonString(String? json) Filters?
inherited
fromJsonStringList(String? jsonStringList) List<Filters>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
inherited
toJsonString() String
inherited
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
inherited

Operators

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