isEditableVersionState function

bool isEditableVersionState(
  1. String? state
)

Whether state is one of the states a version can still be written in.

Exposed so AppStoreVersionEntry.editable's rule has one definition rather than two — the encoder computes it from the same set.

Implementation

bool isEditableVersionState(String? state) =>
    state != null && editableVersionStates.contains(state);