identify static method Null safety

Future<void> identify(
  1. LDContext context
)

Changes the active context.

When the context is changed, the SDK will load flag values for the context from a local cache if available, while initiating a connection to retrieve the most current flag values. An event will be queued to be sent to the service containing the public LDContext fields for indexing on the dashboard.

Implementation

static Future<void> identify(LDContext context) async {
  await _channel.invokeMethod('identify', {'context': context.toCodecValue()});
}