asRequest method
Implementation
@override
ResourceDeclareRequest asRequest() {
var resource = $p.ResourceIdentifier(
type: $p.ResourceType.Queue,
name: name,
);
return $p.ResourceDeclareRequest(id: resource, queue: $p.QueueResource());
}