warning function Null safety

void warning(
  1. String message
)

A simple method for printing warning messages to the console.

Implementation

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