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);