setBinding method

void setBinding(
  1. String param,
  2. Object? value
)

Stores the object bound to route parameter param. Called by the router.

Implementation

void setBinding(String param, Object? value) => _bindings[param] = value;