setDeviceAttributes method
Use this function to send custom device attributes such as app preferences, timezone etc
Implementation
@override
void setDeviceAttributes({required Map<String, dynamic> attributes}) {
try {
final payload = {TrackingConsts.attributes: attributes};
methodChannel.invokeMethod(MethodConsts.setDeviceAttributes, payload);
} on PlatformException catch (exception) {
handleException(exception);
}
}