init static method
Initialize control of a FlutterGoogleStreetView with id
.
Mainly for internal use when instantiating a StreetViewController passed in FlutterGoogleStreetView.onStreetViewCreated callback.
Implementation
static Future<StreetViewController> init(
int id, StreetViewBaseState streetViewState) async {
final dynamic initSetting = await _streetViewFlutterPlatform.init(id);
return StreetViewController._(streetViewState,
viewId: id, initSetting: initSetting);
}