startWithConfiguration static method
Implementation
static Future<void> startWithConfiguration(TTSDKConfiguration configuration) async {
Map<String, dynamic> modelMap = configuration.toJson();
TTFLogger.i('FlutterTTSDKManager', 'startWithConfiguration:$modelMap');
await methodChannel.invokeMethod<void>('startWithConfiguration', modelMap);
await methodChannel.invokeMethod('setTrackCustomHeader', {
'appId': configuration.appID,
'headers': {
'flutter_sdk_version_vod': TTSDK_FLUTTER_VERSION,
}
});
}