toJson method
Converts a PodFailurePolicyOnPodConditionsPattern instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempStatus = status;
final tempType = type;
jsonData['status'] = tempStatus;
jsonData['type'] = tempType;
return jsonData;
}