of static method

RouteState of(
  1. BuildContext context
)

Implementation

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