StreamFormat enum

Data format of a trace. Can be either the legacy JSON format or the protocol buffer format. Note that the JSON format will be deprecated soon.

Inheritance

Constructors

StreamFormat(String value)
const
StreamFormat.fromJson(String value)
factory

Values

json → const StreamFormat
const StreamFormat('json')
proto → const StreamFormat
const StreamFormat('proto')

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
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

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