setup method
void
setup({})
override
Implementation
void setup({
String appKey = '',
bool production = false,
String channel = '',
bool debug = false,
}) {
print(flutter_log + "setup");
_jpushHarmonySdkPlugin.setDebug(debug);
if (channel.isNotEmpty) {
_jpushHarmonySdkPlugin.setChannel(channel);
}
if (appKey.isNotEmpty) {
_jpushHarmonySdkPlugin.setAppKey(appKey);
} else {
print(flutter_log + "appKey is empty");
}
_jpushHarmonySdkPlugin.init();
}