isCampaignAvailable static method

Future<bool> isCampaignAvailable({
  1. String? label,
  2. String? url,
})

Returns true if a campaign is available matching the provided label or default @param provided label or null if default campaign

Implementation

static Future<bool> isCampaignAvailable({String? label, String? url}) async {
  var variableMap = {"label": label, "url": url};
  bool available =
      await channel.invokeMethod("isCampaignAvailable", variableMap);
  return available;
}