toJson method
Converts a PodSchedulingContextStatus instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempResourceClaims = resourceClaims;
if (tempResourceClaims != null) {
jsonData['resourceClaims'] =
tempResourceClaims.map((e) => e.toJson()).toList(growable: false);
}
return jsonData;
}