error static method

void error([
  1. String? text
])

Implementation

static void error([String? text]) {
  EasyLoading.showError(text ?? '操作失败');
}