printError method

void printError({
  1. String info = '',
  2. Function logFunction = GetUtils.printFunction,
})

Implementation

void printError(
        {String info = '', Function logFunction = GetUtils.printFunction}) =>
    // ignore: unnecessary_this
    logFunction('Error: ${this.runtimeType}', this, info, isError: true);