UseGuards constructor

const UseGuards(
  1. List<Type> guards
)

Creates a UseGuards annotation with the specified guard types.

guards - The list of guard types to apply.

Implementation

const UseGuards(this.guards);