Flags enum

Inheritance
Available extensions

Values

http → const Flags
const Flags('00', 'http')
grpc → const Flags
const Flags('01', 'grpc')
mqtt → const Flags
const Flags('02', 'mqtt')
tcp → const Flags
const Flags('03', 'tcp')
json → const Flags
const Flags('00', 'json')
protobuf → const Flags
const Flags('01', 'protobuf')
xml → const Flags
const Flags('02', 'xml')
thrift → const Flags
const Flags('03', 'thrift')
yaml → const Flags
const Flags('04', 'yaml')
raw → const Flags
const Flags('05', 'raw')

Properties

code String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
final
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

Static Properties

codecs List<Flags>
final
protos List<Flags>
final

Static Methods

ofCodec(String code) Flags
ofCodecName(String name) Flags
ofProto(String code) Flags
ofProtoName(String name) Flags

Constants

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