asRequest method

  1. @override
ResourceDeclareRequest asRequest()
override

Implementation

@override
ResourceDeclareRequest asRequest() {
  var resource = $p.ResourceIdentifier(
    type: $p.ResourceType.Queue,
    name: name,
  );

  return $p.ResourceDeclareRequest(id: resource, queue: $p.QueueResource());
}