ModuleEncoding class

Serialization format for ball Module data.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
This enum's name, as specified in the .proto file.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
This enum's integer value, as specified in the .proto file.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns this enum's name or the value if names are not represented.
inherited

Operators

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

Static Methods

valueOf(int value) ModuleEncoding?

Constants

MODULE_ENCODING_JSON → const ModuleEncoding
JSON format (protobuf canonical JSON mapping).
MODULE_ENCODING_PROTO → const ModuleEncoding
Protobuf binary wire format.
MODULE_ENCODING_UNSPECIFIED → const ModuleEncoding
Auto-detect from file extension, Content-Type header, or content. .ball.bin / .ball → PROTO .ball.json / .json → JSON application/x-protobuf → PROTO application/json → JSON
values → const List<ModuleEncoding>