isNewPackDataAvailable static method

Future<bool> isNewPackDataAvailable(
  1. int mapID,
  2. String eTag
)

Checks if new pack data is available for a given map ID and ETag.

mapID - The ID of the map for which to check for new pack data. eTag - The ETag of the current pack data. Returns true if new pack data is available, false otherwise.

Implementation

static Future<bool> isNewPackDataAvailable(int mapID, String eTag) async {
  return await _methodChannel.invokeMethod('isNewPackDataAvailable', {
    'mapID': mapID,
    'eTag': eTag,
  });
}