DVProtocolChangeSafety enum
Whether an adapter may make a change on an old client's behalf.
Values
-
It only hides what the old client never knew: a field its shape does not contain, an argument it does not send that has a default, a member mapped to a declared fallback it knows, or something it never calls.
- lossy → const DVProtocolChangeSafety
-
It would change the meaning of something the old client understands. Served only through a declared adapter (
DV-PROTO-004without one). - upgradeRequired → const DVProtocolChangeSafety
-
An enum member the old client cannot be handed and no fallback it knows. Not a guess: the client is told to upgrade (
DV-PROTO-006).
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
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<
DVProtocolChangeSafety> - A constant List of the values in this enum, in order of their declaration.