Idempotency enum

Is this method side-effect-free (or safe in HTTP parlance), or just idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.

This enum matches the protobuf enum google.protobuf.MethodOptions.IdempotencyLevel, defined in the well-known type google/protobuf/descriptor.proto, but drops UNKNOWN.

Inheritance
Available extensions

Values

noSideEffects → const Idempotency

Idempotent, no side effects.

idempotent → const Idempotency

Idempotent, but may have side effects.

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<Idempotency>
A constant List of the values in this enum, in order of their declaration.