CloudflareResponse class
Documentation here: API docs: https://api.cloudflare.com/#getting-started-responses
- Available Extensions
- Annotations
-
- @CopyWith(skipFields: true)
- @JsonSerializable(includeIfNull: false)
Constructors
-
CloudflareResponse({Object? result, bool? success, List<
ErrorInfo> ? errors, List<String> ? messages, Pagination? paginationInfo}) -
CloudflareResponse.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
- paginationInfo ↔ Pagination?
-
getter/setter pair
- result ↔ Object?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success ↔ bool
-
getter/setter pair
Methods
-
fromJsonList(
List? jsonList) → List< CloudflareResponse> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → CloudflareResponse? -
fromJsonString(
String? json) → CloudflareResponse? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< CloudflareResponse> ? -
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