ConstructConfig constructor
const
ConstructConfig({})
Implementation
const ConstructConfig({
required this.name,
required this.path,
required this.method,
this.options = const ConstructOptions.empty(),
this.isServer = false,
this.isBuild = false,
this.optIn = false,
}) : assert(
!(isBuild & isServer),
'Construct cannot be both a build and server construct',
);