PlanningCenterApiData class Null safety

simple wrapper for JSON:API data that doesn't make sense as a full PcoResource

Implementers

Constructors

PlanningCenterApiData(String type, {String? id, Map<String, dynamic> attributes = const {}, Map<String, dynamic> relationships = const {}, Map<String, dynamic> links = const {}})
PlanningCenterApiData.fromJson(Map<String, dynamic> data)

Properties

asFullMap Map<String, dynamic>
read-only
asFullMapWithData Map<String, dynamic>
read-only
asMap Map<String, dynamic>
read-only
asMapWithData Map<String, dynamic>
read-only
attributes Map<String, dynamic>
final
hashCode int
The hash code for this object.
read-onlyinherited
id String?
read / write
final
relationships Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type String
read / write

Methods

get(String key) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
set(String key, dynamic val) → void
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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