json_api_document
json_api_document
Identifier
toJson method
toJson
Identifier class
Constructors
Identifier
Properties
id
type
hashCode
runtimeType
Methods
identifies
toJson
noSuchMethod
toString
Operators
operator ==
Static methods
of
toJson method
Map
<
String
,
String
>
toJson
(
)
Returns the JSON representation.
Implementation
Map<String, String> toJson() => {'type': type, 'id': id};