getCustomerUserId method
Implementation
Future<String?> getCustomerUserId() async {
try {
final String? userId = await _channel.invokeMethod('getCustomerUserId');
return userId;
} on PlatformException catch (e) {
print("Failed to get user id: '${e.message}'.");
return null;
}
}