asRequest method

  1. @override
ResourceDeclareRequest asRequest()
override

Implementation

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

  return $p.ResourceDeclareRequest(
      id: resource, keyValueStore: $p.KeyValueStoreResource());
}