setImportanceForProject method

Future<void> setImportanceForProject(
  1. String attributeId,
  2. String importanceId,
  3. PreferencesPageProjects project
)

Sets the importance for an attribute for a specific project.

Implementation

Future<void> setImportanceForProject(
  String attributeId,
  String importanceId,
  PreferencesPageProjects project,
) async {
  await _sharedPreferences.setString(
    _getImportanceTagForProject(attributeId, project),
    importanceId,
  );
  notifyListeners();
}