emitPathChangedIfAny method

  1. @protected
void emitPathChangedIfAny()

Checks if this BLoC has a non-null current path and emits PagePathChangedEvent if so.

Implementation

@protected
void emitPathChangedIfAny() {
  final currentPath = path;
  if (currentPath != null) {
    emitPathChanged();
  }
}