TGResponse class Null safety

Constructors

TGResponse()

Properties

body String?
read / write
contentLength int?
read / write
error ↔ dynamic
read / write
hasError bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, String>?
read / write
httpStatus int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timestamp int?
read / write

Methods

fromJson(dynamic json) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
validate() bool

Operators

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