toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (items != null) 'items': items!,
  if (itemsPerPage != null) 'itemsPerPage': itemsPerPage!,
  if (kind != null) 'kind': kind!,
  if (nextLink != null) 'nextLink': nextLink!,
  if (previousLink != null) 'previousLink': previousLink!,
  if (startIndex != null) 'startIndex': startIndex!,
  if (totalResults != null) 'totalResults': totalResults!,
  if (username != null) 'username': username!,
};