Nudge constructor
Factory constructor to ensure a single instance of Nudge.
Implementation
factory Nudge({
required String apiKey,
required bool debugMode,
}) {
_instance ??= Nudge._internal(
apiKey: apiKey,
debugMode: debugMode,
);
return _instance!;
}