close method

  1. @override
void close(
  1. int idOSM
)
override

Implementation

@override
void close(int idOSM) {
  if (_channels.containsKey(idOSM)) {
    _channels.remove(idOSM);
  }
  if (_channels.isEmpty) {
    _streamController.close();
  }
}