toJson method
Returns the JSON representation.
Implementation
toJson() {
final j = super.toJson();
j['data'] = data;
if (_included.isNotEmpty) j['included'] = _included;
return j;
}
Returns the JSON representation.
toJson() {
final j = super.toJson();
j['data'] = data;
if (_included.isNotEmpty) j['included'] = _included;
return j;
}