newest property
AppStoreBuild?
get
newest
The newest build Apple holds, whatever state it is in.
This is the answer to "which build does the store have", and it is not the same question as newestUsable: a build uploaded four minutes ago is the newest and is not yet releasable.
Implementation
AppStoreBuild? get newest => builds.isEmpty ? null : builds.first;