close method
Closes the connection to the geodatabase.
You should stop using the geodatabase before you close it. For example, you should terminate geodatabase synchronization, remove feature layers from maps, and release the feature tables. Any attempt to access the geodatabase after it is closed will fail, resulting in an error. After closing a geodatabase, you can delete the geodatabase file from the device.
Implementation
void close() {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_Geodatabase_close(_handle, errorHandler);
});
}