onUnpublish method

  1. @internal
  2. @mustCallSuper
Future<bool> onUnpublish()

Implementation

@internal
@mustCallSuper
Future<bool> onUnpublish() async {
  if (!_published) {
    // already unpublished
    return false;
  }

  logger.fine('$objectId.unpublish()');
  _published = false;
  return true;
}