StreamFormat class Null safety

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.

Constructors

StreamFormat.fromJson(String value)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. [...]
override

Constants

json → const StreamFormat
StreamFormat._('json')
proto → const StreamFormat
StreamFormat._('proto')
values → const Map<String, StreamFormat>
{'json' : json, 'proto' : proto}