warn static method

void warn(
  1. Object? object
)

warning will use yellow color

Implementation

static void warn(Object? object) => printYellow(object);