PlanningCenterApiError class Null safety
- Inheritance
-
- Object
- PlanningCenterApiResponse<
PlanningCenterApiData> - PlanningCenterApiError
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?
-
read-onlyinherited
- errorMessage → String
-
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
included
→ List<
Map< String, dynamic> > -
finalinherited
- isError → bool
-
read-onlyinherited
-
links
→ Map<
String, dynamic> -
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.
read-onlyinherited
- statusCode → int
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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