setUserIdentifier static method

  1. @SL_COMPATIBILITY_NAME("name=setUserIdentifier;type=func;params=identifier{string}")
  2. @SL_COMPATIBILITY_NAME("name=setUserProperties;type=func;params=sessionProperties{JSONObject},immutable{boolean}")
  3. @SL_COMPATIBILITY_NAME("name=setUserProperties;type=func;params=sessionProperties{Bundle},immutable{boolean}")
  4. @SL_COMPATIBILITY_NAME("name=setUserProperties;type=func;params=sessionProperties{string},immutable{boolean}")
Future<void> setUserIdentifier(
  1. String key, [
  2. Object? map = null
])

Implementation

@SL_COMPATIBILITY_NAME("name=setUserIdentifier;type=func;params=identifier{string}")
@SL_COMPATIBILITY_NAME("name=setUserProperties;type=func;params=sessionProperties{JSONObject},immutable{boolean}")
@SL_COMPATIBILITY_NAME("name=setUserProperties;type=func;params=sessionProperties{Bundle},immutable{boolean}")
@SL_COMPATIBILITY_NAME("name=setUserProperties;type=func;params=sessionProperties{string},immutable{boolean}")
static Future<void> setUserIdentifier(String key, [Object? map = null]) async{
  await _channel. invokeMethod('setUserIdentifier',{"key":key, "map":map});
}