Net class

Constructors

Net.new()

Properties

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

Static Methods

json<S>(NetResponse<S> response, NetMapperSuccess<S> mapperSuccess, NetMapperError mapperError) Future<ApiResult<S>>
tonApi<S>(Future<NetResponse<S>> request(), NetMapperSuccess mapperSuccess) Future<ApiResult<S>>
tonApiPaged<S>(int limit, Future<NetResponse<S>> request(int offset), NetMapperSuccess mapperSuccess, int dataLength(S), Future<void> onNewData(ApiResult<S> newData)) Future<void>