setProjectContext method
Sets the global project context.
Pass null to clear it.
Implementation
Future<void> setProjectContext(final String? projectId) async {
final settings = await _fetchSettings();
if (settings.projectContext == projectId) {
return;
}
settings.projectContext = projectId;
await _storeSettings(settings);
}