of static method

MethodRouter of(
  1. Context context,
  2. String uri
)

Convenience method used to get the MethodRouter from a Context

Implementation

static MethodRouter of(Context context, String uri) =>
    UriRouter.of(context)[uri]!;