1
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
2
// Use of this source code is governed by a BSD-style license that can be
3
3
// found in the LICENSE file.
4
- // Autogenerated from Pigeon (v22.4 .0), do not edit directly.
4
+ // Autogenerated from Pigeon (v22.6 .0), do not edit directly.
5
5
// See also: https://pub.dev/packages/pigeon
6
6
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers
7
7
@@ -405,7 +405,7 @@ class PlatformHeatmap {
405
405
/// The heatmap data, as JSON. This should only be set from
406
406
/// Heatmap.toJson, and the native code must interpret it according to the
407
407
/// internal implementation details of that method.
408
- Map <String ? , Object ?> json;
408
+ Map <String , Object ?> json;
409
409
410
410
Object encode () {
411
411
return < Object ? > [
@@ -416,7 +416,7 @@ class PlatformHeatmap {
416
416
static PlatformHeatmap decode (Object result) {
417
417
result as List <Object ?>;
418
418
return PlatformHeatmap (
419
- json: (result[0 ] as Map <Object ?, Object ?>? )! .cast <String ? , Object ?>(),
419
+ json: (result[0 ] as Map <Object ?, Object ?>? )! .cast <String , Object ?>(),
420
420
);
421
421
}
422
422
}
@@ -607,9 +607,9 @@ class PlatformPolygon {
607
607
608
608
bool geodesic;
609
609
610
- List <PlatformLatLng ? > points;
610
+ List <PlatformLatLng > points;
611
611
612
- List <List <PlatformLatLng ?>? > holes;
612
+ List <List <PlatformLatLng > > holes;
613
613
614
614
bool visible;
615
615
@@ -641,8 +641,8 @@ class PlatformPolygon {
641
641
consumesTapEvents: result[1 ]! as bool ,
642
642
fillColor: result[2 ]! as int ,
643
643
geodesic: result[3 ]! as bool ,
644
- points: (result[4 ] as List <Object ?>? )! .cast <PlatformLatLng ? >(),
645
- holes: (result[5 ] as List <Object ?>? )! .cast <List <PlatformLatLng ?>? >(),
644
+ points: (result[4 ] as List <Object ?>? )! .cast <PlatformLatLng >(),
645
+ holes: (result[5 ] as List <Object ?>? )! .cast <List <PlatformLatLng > >(),
646
646
visible: result[6 ]! as bool ,
647
647
strokeColor: result[7 ]! as int ,
648
648
strokeWidth: result[8 ]! as int ,
@@ -680,9 +680,9 @@ class PlatformPolyline {
680
680
PlatformJointType jointType;
681
681
682
682
/// The pattern data, as a list of pattern items.
683
- List <PlatformPatternItem ? > patterns;
683
+ List <PlatformPatternItem > patterns;
684
684
685
- List <PlatformLatLng ? > points;
685
+ List <PlatformLatLng > points;
686
686
687
687
/// The cap at the start and end vertex of a polyline.
688
688
/// See https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/Cap.
@@ -721,8 +721,8 @@ class PlatformPolyline {
721
721
color: result[2 ]! as int ,
722
722
geodesic: result[3 ]! as bool ,
723
723
jointType: result[4 ]! as PlatformJointType ,
724
- patterns: (result[5 ] as List <Object ?>? )! .cast <PlatformPatternItem ? >(),
725
- points: (result[6 ] as List <Object ?>? )! .cast <PlatformLatLng ? >(),
724
+ patterns: (result[5 ] as List <Object ?>? )! .cast <PlatformPatternItem >(),
725
+ points: (result[6 ] as List <Object ?>? )! .cast <PlatformLatLng >(),
726
726
startCap: result[7 ]! as PlatformCap ,
727
727
endCap: result[8 ]! as PlatformCap ,
728
728
visible: result[9 ]! as bool ,
@@ -977,7 +977,7 @@ class PlatformCluster {
977
977
978
978
PlatformLatLngBounds bounds;
979
979
980
- List <String ? > markerIds;
980
+ List <String > markerIds;
981
981
982
982
Object encode () {
983
983
return < Object ? > [
@@ -994,7 +994,7 @@ class PlatformCluster {
994
994
clusterManagerId: result[0 ]! as String ,
995
995
position: result[1 ]! as PlatformLatLng ,
996
996
bounds: result[2 ]! as PlatformLatLngBounds ,
997
- markerIds: (result[3 ] as List <Object ?>? )! .cast <String ? >(),
997
+ markerIds: (result[3 ] as List <Object ?>? )! .cast <String >(),
998
998
);
999
999
}
1000
1000
}
@@ -1042,19 +1042,19 @@ class PlatformMapViewCreationParams {
1042
1042
1043
1043
PlatformMapConfiguration mapConfiguration;
1044
1044
1045
- List <PlatformCircle ? > initialCircles;
1045
+ List <PlatformCircle > initialCircles;
1046
1046
1047
- List <PlatformMarker ? > initialMarkers;
1047
+ List <PlatformMarker > initialMarkers;
1048
1048
1049
- List <PlatformPolygon ? > initialPolygons;
1049
+ List <PlatformPolygon > initialPolygons;
1050
1050
1051
- List <PlatformPolyline ? > initialPolylines;
1051
+ List <PlatformPolyline > initialPolylines;
1052
1052
1053
- List <PlatformHeatmap ? > initialHeatmaps;
1053
+ List <PlatformHeatmap > initialHeatmaps;
1054
1054
1055
- List <PlatformTileOverlay ? > initialTileOverlays;
1055
+ List <PlatformTileOverlay > initialTileOverlays;
1056
1056
1057
- List <PlatformClusterManager ? > initialClusterManagers;
1057
+ List <PlatformClusterManager > initialClusterManagers;
1058
1058
1059
1059
Object encode () {
1060
1060
return < Object ? > [
@@ -1075,16 +1075,15 @@ class PlatformMapViewCreationParams {
1075
1075
return PlatformMapViewCreationParams (
1076
1076
initialCameraPosition: result[0 ]! as PlatformCameraPosition ,
1077
1077
mapConfiguration: result[1 ]! as PlatformMapConfiguration ,
1078
- initialCircles: (result[2 ] as List <Object ?>? )! .cast <PlatformCircle ?>(),
1079
- initialMarkers: (result[3 ] as List <Object ?>? )! .cast <PlatformMarker ?>(),
1080
- initialPolygons: (result[4 ] as List <Object ?>? )! .cast <PlatformPolygon ?>(),
1081
- initialPolylines:
1082
- (result[5 ] as List <Object ?>? )! .cast <PlatformPolyline ?>(),
1083
- initialHeatmaps: (result[6 ] as List <Object ?>? )! .cast <PlatformHeatmap ?>(),
1078
+ initialCircles: (result[2 ] as List <Object ?>? )! .cast <PlatformCircle >(),
1079
+ initialMarkers: (result[3 ] as List <Object ?>? )! .cast <PlatformMarker >(),
1080
+ initialPolygons: (result[4 ] as List <Object ?>? )! .cast <PlatformPolygon >(),
1081
+ initialPolylines: (result[5 ] as List <Object ?>? )! .cast <PlatformPolyline >(),
1082
+ initialHeatmaps: (result[6 ] as List <Object ?>? )! .cast <PlatformHeatmap >(),
1084
1083
initialTileOverlays:
1085
- (result[7 ] as List <Object ?>? )! .cast <PlatformTileOverlay ? >(),
1084
+ (result[7 ] as List <Object ?>? )! .cast <PlatformTileOverlay >(),
1086
1085
initialClusterManagers:
1087
- (result[8 ] as List <Object ?>? )! .cast <PlatformClusterManager ? >(),
1086
+ (result[8 ] as List <Object ?>? )! .cast <PlatformClusterManager >(),
1088
1087
);
1089
1088
}
1090
1089
}
@@ -1850,8 +1849,8 @@ class MapsApi {
1850
1849
}
1851
1850
1852
1851
/// Updates the set of circles on the map.
1853
- Future <void > updateCircles (List <PlatformCircle ? > toAdd,
1854
- List <PlatformCircle ? > toChange, List <String ? > idsToRemove) async {
1852
+ Future <void > updateCircles (List <PlatformCircle > toAdd,
1853
+ List <PlatformCircle > toChange, List <String > idsToRemove) async {
1855
1854
final String pigeonVar_channelName =
1856
1855
'dev.flutter.pigeon.google_maps_flutter_android.MapsApi.updateCircles$pigeonVar_messageChannelSuffix ' ;
1857
1856
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -1876,8 +1875,8 @@ class MapsApi {
1876
1875
}
1877
1876
1878
1877
/// Updates the set of heatmaps on the map.
1879
- Future <void > updateHeatmaps (List <PlatformHeatmap ? > toAdd,
1880
- List <PlatformHeatmap ? > toChange, List <String ? > idsToRemove) async {
1878
+ Future <void > updateHeatmaps (List <PlatformHeatmap > toAdd,
1879
+ List <PlatformHeatmap > toChange, List <String > idsToRemove) async {
1881
1880
final String pigeonVar_channelName =
1882
1881
'dev.flutter.pigeon.google_maps_flutter_android.MapsApi.updateHeatmaps$pigeonVar_messageChannelSuffix ' ;
1883
1882
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -1903,7 +1902,7 @@ class MapsApi {
1903
1902
1904
1903
/// Updates the set of custer managers for clusters on the map.
1905
1904
Future <void > updateClusterManagers (
1906
- List <PlatformClusterManager ? > toAdd, List <String ? > idsToRemove) async {
1905
+ List <PlatformClusterManager > toAdd, List <String > idsToRemove) async {
1907
1906
final String pigeonVar_channelName =
1908
1907
'dev.flutter.pigeon.google_maps_flutter_android.MapsApi.updateClusterManagers$pigeonVar_messageChannelSuffix ' ;
1909
1908
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -1928,8 +1927,8 @@ class MapsApi {
1928
1927
}
1929
1928
1930
1929
/// Updates the set of markers on the map.
1931
- Future <void > updateMarkers (List <PlatformMarker ? > toAdd,
1932
- List <PlatformMarker ? > toChange, List <String ? > idsToRemove) async {
1930
+ Future <void > updateMarkers (List <PlatformMarker > toAdd,
1931
+ List <PlatformMarker > toChange, List <String > idsToRemove) async {
1933
1932
final String pigeonVar_channelName =
1934
1933
'dev.flutter.pigeon.google_maps_flutter_android.MapsApi.updateMarkers$pigeonVar_messageChannelSuffix ' ;
1935
1934
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -1954,8 +1953,8 @@ class MapsApi {
1954
1953
}
1955
1954
1956
1955
/// Updates the set of polygonss on the map.
1957
- Future <void > updatePolygons (List <PlatformPolygon ? > toAdd,
1958
- List <PlatformPolygon ? > toChange, List <String ? > idsToRemove) async {
1956
+ Future <void > updatePolygons (List <PlatformPolygon > toAdd,
1957
+ List <PlatformPolygon > toChange, List <String > idsToRemove) async {
1959
1958
final String pigeonVar_channelName =
1960
1959
'dev.flutter.pigeon.google_maps_flutter_android.MapsApi.updatePolygons$pigeonVar_messageChannelSuffix ' ;
1961
1960
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -1980,8 +1979,8 @@ class MapsApi {
1980
1979
}
1981
1980
1982
1981
/// Updates the set of polylines on the map.
1983
- Future <void > updatePolylines (List <PlatformPolyline ? > toAdd,
1984
- List <PlatformPolyline ? > toChange, List <String ? > idsToRemove) async {
1982
+ Future <void > updatePolylines (List <PlatformPolyline > toAdd,
1983
+ List <PlatformPolyline > toChange, List <String > idsToRemove) async {
1985
1984
final String pigeonVar_channelName =
1986
1985
'dev.flutter.pigeon.google_maps_flutter_android.MapsApi.updatePolylines$pigeonVar_messageChannelSuffix ' ;
1987
1986
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -2006,8 +2005,8 @@ class MapsApi {
2006
2005
}
2007
2006
2008
2007
/// Updates the set of tile overlays on the map.
2009
- Future <void > updateTileOverlays (List <PlatformTileOverlay ? > toAdd,
2010
- List <PlatformTileOverlay ? > toChange, List <String ? > idsToRemove) async {
2008
+ Future <void > updateTileOverlays (List <PlatformTileOverlay > toAdd,
2009
+ List <PlatformTileOverlay > toChange, List <String > idsToRemove) async {
2011
2010
final String pigeonVar_channelName =
2012
2011
'dev.flutter.pigeon.google_maps_flutter_android.MapsApi.updateTileOverlays$pigeonVar_messageChannelSuffix ' ;
2013
2012
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -3385,7 +3384,7 @@ class MapsInspectorApi {
3385
3384
}
3386
3385
}
3387
3386
3388
- Future <List <PlatformCluster ? >> getClusters (String clusterManagerId) async {
3387
+ Future <List <PlatformCluster >> getClusters (String clusterManagerId) async {
3389
3388
final String pigeonVar_channelName =
3390
3389
'dev.flutter.pigeon.google_maps_flutter_android.MapsInspectorApi.getClusters$pigeonVar_messageChannelSuffix ' ;
3391
3390
final BasicMessageChannel <Object ?> pigeonVar_channel =
@@ -3411,7 +3410,7 @@ class MapsInspectorApi {
3411
3410
);
3412
3411
} else {
3413
3412
return (pigeonVar_replyList[0 ] as List <Object ?>? )!
3414
- .cast <PlatformCluster ? >();
3413
+ .cast <PlatformCluster >();
3415
3414
}
3416
3415
}
3417
3416
}
0 commit comments