discontinuedPackage spry_router has been discontinued and replaced by spry.

get method

void get(
  1. String path,
  2. Handler handler
)

Define a get route.

Implementation

void get(String path, Handler handler) => route(r'get', path, handler);