queryBool method

bool? queryBool(
  1. String key, {
  2. bool? defaultValue,
})

Gets a query parameter as boolean.

Accepts: 'true', 'false', '1', '0' (case insensitive).

Implementation

bool? queryBool(String key, {bool? defaultValue}) =>
    _metadata.queryBool(key, defaultValue: defaultValue);