PlanningCenterApiError class

Inheritance

Constructors

PlanningCenterApiError(String message, String application, Uri requestUri, String requestBody, PlanningCenterApiQuery query, int statusCode, String responseBody)
PlanningCenterApiError.messageOnly(String message)

Properties

application String
finalinherited
data List<PlanningCenterApiData>
finalinherited
error PlanningCenterApiError?
no setterinherited
errorMessage String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
included List<Map<String, dynamic>>
finalinherited
isError bool
no setterinherited
finalinherited
message String
final
meta PlanningCenterApiMeta
finalinherited
query PlanningCenterApiQuery
finalinherited
requestBody String
finalinherited
requestUri Uri
finalinherited
responseBody String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool includeRawResponseBody = true}) Map<String, dynamic>
override
toString() String
A string representation of this object.
override
withData<F extends PlanningCenterApiData>(List<F> data) PlanningCenterApiResponse<F>
Cretes a clone of this object replacing the data field. This is only really useful when you want to change the type of the underlying data. Note: this might make data lose similarity to the responseBody.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited