asRequest method

  1. @override
ResourceDeclareRequest asRequest()
override

Implementation

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

  return $p.ResourceDeclareRequest(id: res);
}