of static method

Implementation

static MapNavigatorController of(BuildContext context) {
  return MapNavigatorProvider.of(context).controller;
}