remove method
Implementation
T remove(int handle) {
final obj = maybeRemove(handle);
if (obj == null) {
throw UniffiInternalError(
UniffiInternalError.unexpectedStaleHandle,
"Handle not found",
);
}
return obj;
}
T remove(int handle) {
final obj = maybeRemove(handle);
if (obj == null) {
throw UniffiInternalError(
UniffiInternalError.unexpectedStaleHandle,
"Handle not found",
);
}
return obj;
}