ApiException class
Класс предназначенный для ошибок связанных с API VK
- Implemented types
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
ApiException.new({required int code, required String message, required List<
RequestParams> requestParams}) - Конструктор класса ApiException
-
ApiException.fromJson(Map<
String, dynamic> json) -
Преобразует JSON в экземпляр класса
factory
Properties
- code → int
-
Код ошибки
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Сообщение ошибки
final
-
requestParams
→ List<
RequestParams> -
Параметры запроса
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
-
toJson(
) → Map< String, dynamic> - Преобразует экземпляр в JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited