emitPublishModel method

Future<void> emitPublishModel()

Emits the current _publishModel to the _publishModelStreamController.

Implementation

Future<void> emitPublishModel() async {
  await onPublishModelLoaded(_publishModel!.projectId);

  log('Emitting publish model to stream. has model: ${_publishModel != null}');
  status = CStatus.loaded();
  _publishModelStreamController.add(_publishModel);
}