TokenService constructor
TokenService(
- TokenServiceConfigurations configurations
Create an instance of TokenService or get the created one.
Implementation
factory TokenService(TokenServiceConfigurations configurations) {
var instance = _createdServices[configurations];
if (instance != null) return instance;
var newInstance = TokenService._(configurations);
_createdServices[configurations] = newInstance;
return newInstance;
}