StoreImageRules class
What one store accepts in the encoding of a listing image.
The quoted rules are fields rather than prose baked into the messages, because the two kinds of rule here must not read alike. Play publishes a format string per slot and this package repeats it; Apple publishes nothing about bit depth and the check is this package's, held to the evidence bar the rest of this repository uses. A reader who cannot tell those apart cannot argue with the second one, and the second one is the one worth being able to argue with.
Constructors
- StoreImageRules({required String store, required String alphaRule, required String depthRule, bool allowsAlpha = false})
-
const
Properties
- allowsAlpha → bool
-
True only for Play's app icon, the one slot in either store that asks
for an alpha channel.
final
- alphaRule → String
-
The store's own words about transparency, quoted, so a reader can go and
check the claim instead of taking this package's word for it.
final
- depthRule → String
-
The same for bit depth — or, where the store publishes none, this package
saying so and saying what the check is standing on instead.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → String
-
Who does the refusing, named in every message. "Refused" on its own sends
a reader to the wrong documentation, and these two stores disagree: Play
wants an alpha channel in exactly the slot Apple has no equivalent of.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited