Resource class Null safety

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.
read-onlyinherited
id String
final
key String
read-onlyinherited
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.
read-onlyinherited
type String
final

Methods

many(String name) ToMany?
Returns a to-many relationship by its name.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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