JwtGenerator constructor

JwtGenerator(
  1. {required String credentialsFile,
  2. required String scope,
  3. required Dio dio}
)

Implementation

JwtGenerator(
    {required this.credentialsFile, required this.scope, required this.dio})
    : jwtCredentials = JwtCredentials.fromJson({
        'settings': jsonDecode(File(credentialsFile).readAsStringSync()),
        'scope': scope
      });