ApiResponse<T> class

Класс ApiResponse содержит полезную нагрузку. Предосталяет информацию к опциям запроса к метода, а так же результат запроса.

Constructors

ApiResponse.new({required T data, required Map<String, dynamic> requestOptions})
Конструктор.

Properties

data → T
Результат выполнения запроса
final
hashCode int
The hash code for this object.
no setterinherited
requestOptions Map<String, dynamic>
Опции запроса.
final
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