init method
Init Service
Implementation
@override
FutureOr<bool> init([bool inInterface = true]) {
if (!context.hasService<Crypto>()) {
throw UnsupportedError("Authorization service not"
" supported without CryptoService");
}
if (!context.hasService<DataAccess>()) {
throw UnsupportedError("Authorization service not"
" supported without CryptoService");
}
return initService();
}