PlayDrop class final

Anything else: reason is one of the PlaySession.fail* constants. events are the chance events a granted-but-not-shown or denied answer carried . Port of iOS PlayDecision.drop.

Inheritance
Available extensions

Constructors

PlayDrop(String reason, [String? denyReason, List<ChanceAnalyticsEvent> events = const [], int? statusCode, int durationMs = 0])
const

Properties

chanceEvents → List<ChanceAnalyticsEvent>

Available on PlayDecision, provided by the PlayDecisionChanceEvents extension

no setter
denyReason → String?
final
durationMs → int
How long the failed grant call ran, for game_grant_failed.
final
events → List<ChanceAnalyticsEvent>
Chance events the grant answer carried, for Digia analytics only.
final
hashCode → int
The hash code for this object.
no setterinherited
reason → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int?
The failed grant's HTTP status, when the server answered. Only set for a failed grant call, for game_grant_failed.
final

Methods

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