loadWithVenues method

  1. @override
Future<void> loadWithVenues(
  1. String key,
  2. List<String> venueIds
)
override

Implementation

@override
Future<void> loadWithVenues(String key, List<String> venueIds) async {
  final error = await mapsIndoorsMethodChannel.invokeMethod(
      'MIN_loadWithVenues', {
    "key": key,
    "venueIds": jsonEncode(venueIds),
    "pluginVersion": _pluginVersion
  });

  if (error != null) {
    return Future.error(MPError.fromJson(error)!);
  }
}