initialize method

  1. @override
Future<bool?> initialize({
  1. String? appId,
  2. String? accessToken,
  3. String? mid,
  4. String? sfmcURL,
  5. String? senderId,
  6. bool? delayRegistration,
})
override

To Initialize the SDK for iOS only

Implementation

@override
Future<bool?> initialize(
    {String? appId,
    String? accessToken,
    String? mid,
    String? sfmcURL,
    String? senderId,
    bool? delayRegistration}) async {
  final bool? result = await methodChannel.invokeMethod('initialize', {
    "appId": appId,
    "accessToken": accessToken,
    "mid": mid,
    "sfmcURL": sfmcURL,
    "senderId": senderId,
    "delayRegistration": delayRegistration,
  });
  return result;
}