TcpMessage class

a simple wrapper for TCP responses to allow retrieving response data as Uint8List through bytes or as a String through body.

Constructors

TcpMessage(Uint8List bytes)
const

Properties

body String
no setter
bytes Uint8List
final
hashCode int
The hash code for this object.
no setterinherited
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