fromWire static method

EntryStatus fromWire(
  1. String? value
)

Implementation

static EntryStatus fromWire(String? value) {
  for (final s in EntryStatus.values) {
    if (s.wireName == value) return s;
  }
  // An unknown status is not an ok status. Reading it permissively is how a
  // revoked medium would render.
  return EntryStatus.denied;
}