toJson method Null safety
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'type': type,
'attributes': attributes.toJson(),
};
Map<String, dynamic> toJson() => {
'id': id,
'type': type,
'attributes': attributes.toJson(),
};