projectId top-level property

Future<String> get projectId

Gets the current Google Cloud project's ID from the metadata service.

Implementation

Future<String> get projectId => _cachedMetadataValue('project/project-id');