TransferFormat class

Specifies the transfer format for a connection.

Constructors

TransferFormat(String name, int value)
const
TransferFormat.fromJSON(String name)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
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

binary → const TransferFormat
Specifies that binary data will be transmitted over the connection.
text → const TransferFormat
Specifies that only text data will be transmitted over the connection.