CloudflareErrorResponse class
It is a wrapper for error responses from network calls
- Annotations
-
- @JsonSerializable()
Constructors
-
CloudflareErrorResponse.new({List<
ErrorInfo> ? errors, List<String> ? messages}) -
CloudflareErrorResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
fromJsonList(
List? jsonList) → List< CloudflareErrorResponse> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → CloudflareErrorResponse? -
fromJsonString(
String? json) → CloudflareErrorResponse? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< CloudflareErrorResponse> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited