InboundDocument class
Inbound JSON:API document
Constructors
- InboundDocument(Map json)
Properties
Methods
-
asRelationship<
R extends Relationship> () → R -
asToMany(
) → ToMany -
asToOne(
) → ToOne -
dataAsCollection(
) → Iterable< Resource> -
dataAsNewResource(
) → NewResource -
dataAsResource(
) → Resource -
dataAsResourceOrNull(
) → Resource? -
errors(
) → Iterable< ErrorObject> - Errors (for an Error Document)
-
included(
) → Iterable< Resource> - Included resources
-
links(
) → Map< String, Link> - Top-level links object.
-
meta(
) → Map< String, Object?> - Top-level meta data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited