close method

  1. @override
void close()
override

Implementation

@override
void close() {
  logger.i('${Logger.tag('[LIVEDATA${name == null ? '' : ': $name'}]')} '
      'close.');
  if (attachedItems.isNotEmpty) {
    for (var l in attachedItems.values) {
      if (l is LiveData) {
        l.close();
      }
    }
  }
  streamController.close();
}