Consequence class final

Annotations
  • @JsonSerializable()

Constructors

Consequence({ConsequenceParams? params, Iterable? promote, bool? filterPromotes, List<ConsequenceHide>? hide, Object? userData})
Returns a new Consequence instance.
const
Consequence.fromJson(Map<String, dynamic> json)
factory

Properties

filterPromotes bool?
Only use in combination with the promote consequence. When true, promoted results will be restricted to match the filters of the current search. When false, the promoted results will show up regardless of the filters.
final
hashCode int
The hash code for this object.
no setteroverride
hide List<ConsequenceHide>?
Records to hide. By default, you can hide up to 50 records per rule.
final
params ConsequenceParams?
final
promote Iterable?
Records to promote. One of types:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userData Object?
Custom JSON object that will be appended to the userData array in the response. This object isn't interpreted by the API. It's limited to 1kB of minified JSON.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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