design property

DesignDescriptor design
getter/setter pairinherited

Defines the design role of the pod.

Describes the design role configuration of a component.

A design role indicates whether a component is application-level, supporting, or infrastructure-related.
See {@macro design_role}.

Example

final design = DesignDescriptor(
  role: DesignRole.SUPPORT,
  isPrimary: false,
  isInfrastructure: true,
);

print(design.role); // DesignRole.SUPPORT
print(design.isInfrastructure); // true

Implementation

DesignDescriptor design;