value property

int value

Implementation

int get value {
  switch (this) {
    case ModuleLoadStatus.ok:
      return 0;
    case ModuleLoadStatus.engineUninit:
      return -201;
    case ModuleLoadStatus.varialeNull:
      return -202;
    case ModuleLoadStatus.errRunBundle:
      return -203;
    case ModuleLoadStatus.repeatLoad:
      return -204;
    default:
      return -1;
  }
}