registerFlagsReceivedListener static method Null safety

Future<void> registerFlagsReceivedListener(
  1. LDFlagsReceivedCallback flagsReceivedCallback
)

Registers a callback to be notified when flag data is received by the SDK.

Implementation

static Future<void> registerFlagsReceivedListener(LDFlagsReceivedCallback flagsReceivedCallback) async {
  _flagsReceivedCallbacks.add(flagsReceivedCallback);
}