isConnected method

  1. @override
bool isConnected()
override

Implementation

@override
bool isConnected() {
  return channel != null && channel!.closeCode == null;
}