asUsage static method

String? asUsage(
  1. String? usage
)

Implementation

static String ? asUsage(String? usage) {
  if (REUSABLE == usage) {
    return REUSABLE;
  } else if (SINGLE_USE == usage) {
    return SINGLE_USE;
  }
  return null;
}