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, _StreetViewState _streetViewState) async {
final dynamic initSetting = await _streetViewFlutterPlatform.init(id);
return StreetViewController._(_streetViewState,
viewId: id, initSetting: initSetting);
}