getInstance static method

ModErrorHelper getInstance(
  1. String def
)

Implementation

static ModErrorHelper getInstance(String def) {
  if (_instance == null) {
    _instance = ModErrorHelper._(def);
  }

  return _instance!;
}