of method Null safety

UriRouter of(
  1. Context context
)

Convenience method used to get the UriRouter from a Context

Implementation

static UriRouter of(Context context) => context.findObjectOfType<UriRouter>();