TTSDKConfiguration.defaultConfigurationWithAppIDAndLicPath constructor
TTSDKConfiguration.defaultConfigurationWithAppIDAndLicPath({})
Implementation
TTSDKConfiguration.defaultConfigurationWithAppIDAndLicPath(
{required this.appID, required this.licenseFilePath, required this.channel}) {
if (appID.isEmpty || licenseFilePath.isEmpty) {
assert(false, 'appID and licenseFilePath must be valid');
}
if (Platform.isAndroid && channel.isEmpty) {
assert(false, 'channel must be valid on Android platform');
}
}