FlagDeckServerSentEvents class

Constructors

FlagDeckServerSentEvents.new({required String apiKey, dynamic onConnect(FlagUpdatedResponse)?, dynamic onEvent(String? flagKey, EventFluxData, FlagUpdatedResponse)?, dynamic handleConnectionError(dynamic error)?, dynamic handleDisconnect()?, Map<String, String>? header, ReconnectConfig? reconnectConfig})

Properties

apiKey String
final
connected bool
getter/setter pair
handleConnectionError → dynamic Function(dynamic error)?
final
handleDisconnect → dynamic Function()?
final
hashCode int
The hash code for this object.
no setterinherited
final
networkResponse NetworkProvider
getter/setter pair
onConnect → dynamic Function(FlagUpdatedResponse)?
final
onEvent → dynamic Function(String? flagKey, EventFluxData, FlagUpdatedResponse)?
final
reconnectConfig → ReconnectConfig?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → dynamic
connect() → dynamic
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