poolGetState method
Gets the current state of the connection pool.
The poolId must be a valid pool identifier.
Returns a record with pool size and idle count, or null on failure.
Implementation
@override
({int size, int idle})? poolGetState(int poolId) =>
_native.poolGetState(poolId);