getCampaignId method

Future<String?> getCampaignId()
override

Implementation

Future<String?> getCampaignId() async {
  dynamic result;
  try {
    result = await instance.invokeMethod('getCampaignId');
    campaignId = result;
  } on PlatformException catch (e) {
    //campaignId = "Failed to Invoke: getCampaignId'${e.message}'.";
  }
  return result;
}