toggle static method
Implementation
static Future<bool> toggle(
{bool? hide, StatusBarAnimation? animation}) async {
return await _channel.invokeMethod('toggleStatusBar', {
'hide': hide ?? false,
'animation': _getAnimation(animation),
});
}