UseDesignSystemItem constructor
UseDesignSystemItem({
- required String preferredItemName,
- required Iterable<
ForbiddenItem> replacements,
Implementation
UseDesignSystemItem({
required String preferredItemName,
required Iterable<ForbiddenItem> replacements,
}) : super(
lintCodeName: '${ruleName}_$preferredItemName',
replacements: {preferredItemName: replacements.toList()},
);