setCustomData method
Sets metadata attached to this device that will be displayed and filterable in the web dashboard. This allows you to find and identify your users devices quickly. We recommend adding information such as your logged in users email addresses or user IDs here.
Implementation
@override
Future<void> setCustomData(Map<String, dynamic> customData) async {
try {
await methodChannel.invokeMethod('setCustomData', customData);
} on PlatformException catch (e) {
print('Cannot set session: $e');
}
}