enableBackground static method
启动后台服务
Implementation
static Future<void> enableBackground({
required String title,
required String label,
required String assetName,
bool? vibrate,
}) async {
await _channel.invokeMethod('enableBackground', {'title': title, 'label': label, 'assetName': assetName, 'vibrate': vibrate ?? true});
}