EventType enum

Class used in CfEventsListener as possible event type that can be triggered by SDK.

Inheritance

Constructors

EventType()
const

Values

SSE_START → const EventType

Indicates that realtime evaluation update monitor is started. Has no payload.

SSE_RESUME → const EventType

Indicates that realtime evaluation update monitor has restarted after recovering from network failure. Has no payload.

SSE_END → const EventType

Indicates that realtime evaluation update monitor is ended. Has no payload.

EVALUATION_POLLING → const EventType

Evaluation list has been reloaded due to polling mechanism. The payload is list of loaded evaluation. See EvaluationResponse

EVALUATION_CHANGE → const EventType

A single evaluation has been changed. The payload is an instance of EvaluationResponse.

EVALUATION_DELETE → const EventType

A single evaluation has been deleted (e.g. flag has been deleted). The payload is the flag identifier String.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.
inherited

Operators

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

Constants

values → const List<EventType>
A constant List of the values in this enum, in order of their declaration.