PlatformFilter class

Describes criteria to restrict the results when listing platform versions.

The filter is evaluated as follows: Type Operator Values1

Annotations
  • @_s.JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: false, createToJson: true)

Constructors

PlatformFilter({String operator, String type, List<String> values})

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
operator → String
The operator to apply to the Type with each of the Values. [...]
@_s.JsonKey(name: 'Operator'), final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
type → String
The platform version attribute to which the filter values are applied. [...]
@_s.JsonKey(name: 'Type'), final
values → List<String>
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators. [...]
@_s.JsonKey(name: 'Values'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → Map<String, dynamic>
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited