doInDebugMode function
Implementation
void doInDebugMode(void Function() action, {bool debugModeOnly = true}) {
if (!debugModeOnly || kDebugMode) {
action();
}
}
void doInDebugMode(void Function() action, {bool debugModeOnly = true}) {
if (!debugModeOnly || kDebugMode) {
action();
}
}