initialize method

  1. @override
Future<void> initialize({
  1. required String apiToken,
  2. ConversionOptions options = const ConversionOptions(),
})
override

Implementation

@override
Future<void> initialize({required String apiToken, ConversionOptions options = const ConversionOptions()}) {
  return methodChannel.invokeMethod('initialize', {
    'apiToken': apiToken,
    'options': {
      'statusOfConversion': options.statusOfConversion.name,
      //'fields': options.fields,
      'cookieValidity': options.cookieValidity,
    }
  });
}