toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
if (type != null) r'type': type,
if (title != null) r'title': title,
if (detail != null) r'detail': detail,
if (embedded != null) r'_embedded': embedded,
};
}