isCustomSoundEnabled static method

Future<bool> isCustomSoundEnabled()

To check whether custom sound is already enabled or not

Implementation

static Future<bool> isCustomSoundEnabled() async {
  if(!Platform.isAndroid) return false;
  return await _channel.invokeMethod("Pushe.isCustomSoundEnabled") ?? true;
}