INNER CODE UNIT · Dart
ConnectionStateEvent
hyochan/flutter_inapp_purchase · lib/events.dart:30
class ConnectionStateEvent {
final bool isConnected;
final String? message;
ConnectionStateEvent({required this.isConnected, this.message});
}
/// Event listener subscription
class EventSubscription {
final void Function() _removeListener;
EventSubscription(this._removeListener);
/// Remove this event listener
void remove() {
_removeListener();
}
}