name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 1:
      return 'LOAD_CACHE_ELSE_NETWORK';
    case 3:
      return 'LOAD_CACHE_ONLY';
    case -1:
      return 'LOAD_DEFAULT';
    case 2:
      return 'LOAD_NO_CACHE';
  }
  return _value.toString();
}