Yt.withJwt constructor Null safety

Yt.withJwt(
  1. String credentialsFile,
  2. String scope
)

Implementation

factory Yt.withJwt(String credentialsFile, String scope) {
  Yt yt = Yt();

  yt.tokenGenerator =
      JwtGenerator(credentialsFile: credentialsFile, scope: scope, dio: dio);

  return yt;
}