debug function Null safety

void debug(
  1. String message
)

A simple method for printing debug messages to the console.

Implementation

void debug(String message) =>
    (Settings().debugLevel.index >= DebugLevel.DEBUG.index)
        ? print('[CAMS DEBUG] $message')
        : 0;