whereBool method

Router whereBool(
  1. String paramName
)

Implementation

Router whereBool(String paramName) {
  if (_routes.isNotEmpty) {
    _routes.last.paramTypes ??= {};
    _routes.last.paramTypes![paramName] = bool;
  }
  return this;
}