CloudXArbiterPrecision class

Revenue precision reported by a mediation platform for an arbiter bid.

Intentionally not an enum so future precision tokens can be added without making the public API a closed set. of upper-cases any token, so a mediator's raw value (e.g. estimated) matches the constant below.

Constructors

CloudXArbiterPrecision.of(String name)
Mints a precision from any token, normalized to upper case.
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
name → String
Stable precision token sent to CloudX services.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
override

Constants

estimated → const CloudXArbiterPrecision
Estimated revenue (estimated).
exact → const CloudXArbiterPrecision
Result of a real-time auction (exact).
publisherDefined → const CloudXArbiterPrecision
Price assigned by the publisher (publisher_defined).
undefined → const CloudXArbiterPrecision
No amount, not enough data to estimate (undefined).