Resource class

Mixed in types

Constructors

Resource(String type, String id)

Properties

attributes Map<String, Object?>
Resource attributes.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
final
key String
no setterinherited
Resource links
final
meta Map<String, Object?>
Resource meta data.
finalinherited
relationships Map<String, Relationship>
Resource relationships.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

many(String name) ToMany?
Returns a to-many relationship by its name.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
one(String name) ToOne?
Returns a to-one relationship by its name.
inherited
toJson() Map<String, Object>
toString() String
A string representation of this object.
inherited

Operators

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