Mode enum

The various modes that the VCR can be in.

Inheritance

Constructors

Mode()
const

Values

auto → const Mode

The VCR will automatically play back a cassette if it exists, otherwise it will record a new cassette.

record → const Mode

The VCR will record a new cassette. If a cassette already exists, it will be overwritten.

replay → const Mode

The VCR will play back a cassette. If a cassette does not exist, an exception will be thrown.

bypass → const Mode

The VCR will not record or play back a cassette. It will make a live request to the server.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<Mode>
A constant List of the values in this enum, in order of their declaration.
[auto, record, replay, bypass]