ApiFeature class

Class that defines EventStore gRPC client features by ApiVersion as semantic version constraint.

Constructors

ApiFeature(String name, String constraint)
const

Properties

constraint String
Api version which support it
final
hashCode int
The hash code for this object.
no setterinherited
name String
Name of feature
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allows(String version) bool
Returns true if this constraint allows version.
isSupported(String version) Iterable<ApiFeature>
Get all features supported by given version
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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