isClosedImpl method

  1. @override
bool isClosedImpl()
override

Implementation

@override
bool isClosedImpl() {
  final nativeConnection = this.nativeConnection;
  return nativeConnection is Connection && !nativeConnection.isOpen;
}