of static method

RouterState of(
  1. BuildContext context
)

Implementation

static RouterState of(BuildContext context) {
  return maybeOf(context)!;
}