isGsUrl static method

bool isGsUrl(
  1. String url
)

Verify if url is a Google Cloud Storage (gs) url.

Implementation

static bool isGsUrl(String url) {
  Uri uri = Uri.parse(url);
  return uri.scheme == Constants.GS_SCHEME;
}