of static method

Implementation

static MapNavigatorProvider of(BuildContext context) {
  final MapNavigatorProvider? result = maybeOf(context);
  assert(result != null, 'No FrogColor found in context');
  return result!;
}