PlatformRouteInformationProvider constructor Null safety

PlatformRouteInformationProvider(
  1. {required RouteInformation initialRouteInformation}
)

Create a platform route information provider.

Use the initialRouteInformation to set the default route information for this provider.

Implementation

PlatformRouteInformationProvider({
  required RouteInformation initialRouteInformation,
}) : _value = initialRouteInformation;