@@ -25,7 +25,7 @@ class MethodChannelArcgisMapPlugin extends ArcgisMapPlatform {
2525 int mapId,
2626 void Function (double )? getZoom,
2727 String layerId,
28- ) async {
28+ ) {
2929 throw UnimplementedError ('addFeatureLayer() has not been implemented.' );
3030 }
3131
@@ -43,7 +43,8 @@ class MethodChannelArcgisMapPlugin extends ArcgisMapPlatform {
4343
4444 @override
4545 Future <void > setAutoPanMode (String autoPanMode, int mapId) {
46- return _methodChannelBuilder (mapId).invokeMethod ("set_auto_pan_mode" , autoPanMode);
46+ return _methodChannelBuilder (mapId)
47+ .invokeMethod ("set_auto_pan_mode" , autoPanMode);
4748 }
4849
4950 @override
@@ -121,7 +122,7 @@ class MethodChannelArcgisMapPlugin extends ArcgisMapPlatform {
121122 required int mapId,
122123 required String featureLayerId,
123124 required List <Graphic > data,
124- }) async {
125+ }) {
125126 throw UnimplementedError ('addFeatureLayer() has not been implemented.' );
126127 }
127128
@@ -165,7 +166,7 @@ class MethodChannelArcgisMapPlugin extends ArcgisMapPlatform {
165166 AnimationOptions ? animationOptions,
166167 int ? threeDHeading,
167168 int ? threeDTilt,
168- }) async {
169+ }) {
169170 return _methodChannelBuilder (mapId).invokeMethod <bool >(
170171 "move_camera" ,
171172 {
@@ -196,7 +197,7 @@ class MethodChannelArcgisMapPlugin extends ArcgisMapPlatform {
196197 required int lodFactor,
197198 required int mapId,
198199 AnimationOptions ? animationOptions,
199- }) async {
200+ }) {
200201 return _methodChannelBuilder (mapId).invokeMethod <bool >(
201202 "zoom_in" ,
202203 {"lodFactor" : lodFactor},
@@ -208,15 +209,15 @@ class MethodChannelArcgisMapPlugin extends ArcgisMapPlatform {
208209 required int lodFactor,
209210 required int mapId,
210211 AnimationOptions ? animationOptions,
211- }) async {
212+ }) {
212213 return _methodChannelBuilder (mapId).invokeMethod <bool >(
213214 "zoom_out" ,
214215 {"lodFactor" : lodFactor},
215216 ).then ((value) => value! );
216217 }
217218
218219 @override
219- Future <void > retryLoad (int mapId) async {
220+ Future <void > retryLoad (int mapId) {
220221 return _methodChannelBuilder (mapId).invokeMethod ("retryLoad" );
221222 }
222223
0 commit comments