RequestParamsExtension extension

Request params extension.

handler(Context context) {
 final String name = context.request.params['name'];
}
on
  • Request

Properties

params Map<String, Object?>

Available on Request, provided by the RequestParamsExtension extension

Get the request params.
no setter

Methods

param(String name) Object?

Available on Request, provided by the RequestParamsExtension extension

Get a request param.