AppraisalPort class abstract

Port for appraisal operations over profile dimensions.

Adapters compute metric values for requested dimensions over the supplied context and return a AppraisalResult. Historical lookup is optional (default throws UnsupportedError).

Constructors

AppraisalPort()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

appraise(List<String> dimensions, Map<String, dynamic> context) Future<AppraisalResult>
Appraise the requested dimensions against context.
getHistory(String profileId, Period period) Future<List<AppraisalResult>>
Retrieve historical appraisal results for profileId within period.
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