error abstract method

void error(
  1. Object? msg, {
  2. String? className,
})

Implementation

void   error(Object? msg, {String? className});