get static method

Router get(
  1. String path,
  2. Function action
)

Implementation

static Router get(String path, Function action) =>
    _addRoute(HttpRequestMethod.get, path, action);