toJson method
Converts a ListMeta instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final temp$continue = $continue;
final tempRemainingItemCount = remainingItemCount;
final tempResourceVersion = resourceVersion;
final tempSelfLink = selfLink;
if (temp$continue != null) {
jsonData['continue'] = temp$continue;
}
if (tempRemainingItemCount != null) {
jsonData['remainingItemCount'] = tempRemainingItemCount;
}
if (tempResourceVersion != null) {
jsonData['resourceVersion'] = tempResourceVersion;
}
if (tempSelfLink != null) {
jsonData['selfLink'] = tempSelfLink;
}
return jsonData;
}