toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (limit != null) r'limit': limit,
    if (page != null) r'page': page,
    if (pages != null) r'pages': pages,
    if (total != null) r'total': total,
    if (links != null) r'_links': links,
    if (embedded != null) r'_embedded': embedded,
  };
}