ObservationOperation<T, V> class

A Forecast observation operation over source T that produces value V.

Constructors

ObservationOperation(String id, {OperationComputer<T, V>? computer, String description = ''})

Properties

computer OperationComputer<T, V>?
The Function that computes the operation.
final
description String
Operation description.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Operation ID.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compute(T source) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

normalizeID(String id) String
Normalizes the id.