maybeOf static method

MapCamera? maybeOf(
  1. BuildContext context
)

The camera of the closest FlutterMap ancestor. If this is called from a context with no FlutterMap ancestor null, is returned.

Implementation

static MapCamera? maybeOf(BuildContext context) =>
    FlutterMapInheritedModel.maybeCameraOf(context);