setUser method
Implementation
@override
Future<void> setUser(String? userId) async {
if (Platform.isIOS) {
methodChannel.invokeMethod<void>('setUser', {"user_id": userId});
} else if (Platform.isAndroid) {
methodChannel.invokeMethod<void>('setUser', {"userId": userId});
}
}