diff --git a/lib/src/upgrade_messages.dart b/lib/src/upgrade_messages.dart index 8703bf86..94b0a373 100644 --- a/lib/src/upgrade_messages.dart +++ b/lib/src/upgrade_messages.dart @@ -46,7 +46,9 @@ enum UpgraderMessage { /// String get buttonTitleIgnore => 'My Ignore'; /// } /// -/// UpgradeAlert(upgrader: Upgrader(messages: MyUpgraderMessages()); +/// final upgrader = Upgrader(messages: MyUpgraderMessages()); +/// ... +/// UpgradeAlert(upgrader: upgrader); /// ``` /// class UpgraderMessages {