constructor(resourceType: ConstructorFn)
View sourceCreates a command with a resource constructor as its payload.
The constructor stores the type only. It does not remove a resource until
RemoveResourceCommand#execute runs.
