custom static method

NotifySound custom(
  1. String soundName
)

Uses a custom sound resource

Put your sound in: Android: android/app/src/main/res/raw/ (no extension) iOS: ios/Runner/ (include extension like .wav, .mp3)

Implementation

static NotifySound custom(String soundName) => NotifySound._(soundName);