current_gcp_project 0.0.1 current_gcp_project: ^0.0.1 copied to clipboard
A helper to determine the current GCP project your code is running on.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add current_gcp_project
With Flutter:
$ flutter pub add current_gcp_project
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
current_gcp_project: ^0.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:current_gcp_project/current_gcp_project.dart';