identify method
- String appUserId
Link the anonymous device identity to appUserId. The local write
always succeeds and fires an onChange event; the server-side
POST /v1/identify is best-effort — a failure (offline/5xx) is
retried automatically later, not surfaced as an error here. Throws
RovenueException on validation failure (e.g. a blank id), and with
RovenueErrorKind.subscriberUnresolvable when the server cannot resolve
this install's subscriber (corrupt merge history) — the local link
stands, unsynced, until the data is repaired.
Implementation
Future<void> identify(String appUserId) => _platform.identify(appUserId);