dispose method
void
dispose()
Disposes of all resources and clears the field and global key maps.
Implementation
void dispose() {
// Clear the internal maps to release resources
_fields.clear();
globalKeys.clear();
}