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