toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'links': links.map((item) => item.toJson()).toList(),
    'codes': codes.map((item) => item.toJson()).toList(),
    'images': images.map((item) => item.toJson()).toList(),
    'body': body,
  };
}