UseDesignSystemItem constructor

UseDesignSystemItem({
  1. required String preferredItemName,
  2. required Iterable<ForbiddenItem> replacements,
})

Implementation

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