identify method Null safety
- LDUser user
Changes the active user context.
When the user context is changed, the SDK will load flag values for the user 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 LDUser fields for indexing on the dashboard.
Implementation
static Future<void> identify(LDUser user) async {
await _channel.invokeMethod('identify', {'user': user._toCodecValue()});
}