launchFidelSDK method

  1. @override
Future<String?> launchFidelSDK(
  1. String apiKey,
  2. String programKey,
  3. String termsAndConditionsURL,
  4. String customerIdentifier, {
  5. String? programName,
  6. String? companyName,
  7. String? privacyURL,
  8. String? deleteInstructions,
  9. String? allowedCountries,
})
override

Implementation

@override
Future<String?> launchFidelSDK(String apiKey, String programKey,
    String termsAndConditionsURL, String customerIdentifier,
    {String? programName,
    String? companyName,
    String? privacyURL,
    String? deleteInstructions,
    String? allowedCountries}) async {
  final result =
      await methodChannel.invokeMethod<String>('launch_fidel_sdk', {
    "api_key": apiKey,
    "program_key": programKey,
    "program_name": programName,
    "terms": termsAndConditionsURL,
    "customerId": customerIdentifier,
    "companyName": companyName,
    "privacyURL": privacyURL,
    "deleteInstructions": deleteInstructions,
    "allowedCountries": allowedCountries
  });
  return result;
}