CloudflareErrorResponse class

It is a wrapper for error responses from network calls

Annotations
  • @JsonSerializable.new()

Constructors

CloudflareErrorResponse({List<ErrorInfo>? errors, List<String>? messages})
CloudflareErrorResponse.fromJson(Map<String, dynamic> json)
factory

Properties

errors ↔ List<ErrorInfo>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
messages ↔ List<String>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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