disConnect method

Future disConnect()

Implementation

Future disConnect() async {
  if (channel != null) {
    endCode = '999';
    channel!.close();
  }
}