DocumentKind enum

Which document this is, and therefore which schema counter applies.

Read before schema. The counters are per kind, so a reader that checks the number first has checked it against nothing. Closed, with no unknown member, because these three are this package's own names rather than a store's — an unrecognized one means the document came from a version that knows a kind this one does not, and refusing is the answer.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(valueField: 'wire')

Values

appStoreBuilds → const DocumentKind
const DocumentKind('appstore.builds')
appStoreVersions → const DocumentKind
const DocumentKind('appstore.versions')
playTracks → const DocumentKind
const DocumentKind('play.tracks')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wire String
The value carried in the document's kind field.
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

Constants

values → const List<DocumentKind>
A constant List of the values in this enum, in order of their declaration.