toJson method
Converts a ClaimSource instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempResourceClaimName = resourceClaimName;
final tempResourceClaimTemplateName = resourceClaimTemplateName;
if (tempResourceClaimName != null) {
jsonData['resourceClaimName'] = tempResourceClaimName;
}
if (tempResourceClaimTemplateName != null) {
jsonData['resourceClaimTemplateName'] = tempResourceClaimTemplateName;
}
return jsonData;
}