error static method

void error(
  1. String message, {
  2. String tag = "--------------------> ERROR <--------------------",
})

Implementation

static void error(String message,
    {String tag = "--------------------> ERROR <--------------------"}) {
  if (kDebugMode) {
    log(tag + "\n" + message);
  }
}