toJson method
Implementation
Map<String, dynamic> toJson() {
final resourceId = this.resourceId;
final resourceType = this.resourceType;
return {
if (resourceId != null) 'ResourceId': resourceId,
if (resourceType != null) 'ResourceType': resourceType,
};
}