Docs

API Reference

Complete Flutter SDK properties and methods reference

Properties

onDeeplinkReceived

Dart
Stream<DeeplinkDetails> get onDeeplinkReceived

A stream that emits deep link details when the app is opened from a Grovs link.


Methods

setDebugLevel

Dart
Future<void> setDebugLevel(String level)

Set the debug logging level for native SDK messages. Options: info, error.

setPushToken

Dart
Future<void> setPushToken(String token)

Set the device push notification token for receiving dashboard messages.

setUserIdentifier

Dart
Future<void> setUserIdentifier(String identifier)

Set the user identifier. This value appears in the Grovs dashboard and reports. Typically set to your app's user_id.

setUserAttributes

Dart
Future<void> setUserAttributes(Map<String, dynamic> attributes)

Set user attributes for identification and behavior analysis in the dashboard.

Dart
Future<String> generateLink(GenerateLinkParams params)

Generate a smart link with the specified parameters. Returns the generated URL string.