getSubaddressesCount function
Implementation
int getSubaddressesCount() {
final errorBoxPointer = monero_flutter.buildErrorBoxPointer();
final result = monero_flutter.bindings.subaddress_size(errorBoxPointer);
final errorInfo = monero_flutter.extractErrorInfo(errorBoxPointer);
if (0 != errorInfo.code) {
throw Exception(errorInfo.getErrorMessage());
}
return result;
}