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