SearchParams<S>.schema constructor
const
SearchParams<S>.schema ({
- required S defaults,
- InvalidSearchBehavior invalid = InvalidSearchBehavior.fallback,
Declares a codec that the file-route compiler must generate.
Implementation
const SearchParams.schema({
required this.defaults,
this.invalid = InvalidSearchBehavior.fallback,
}) : _keys = null,
_decode = null,
_encode = null,
isSchema = true;