BiometricAuthRequestedEvent constructor
BiometricAuthRequestedEvent(
- void eventHandler(
- BiometricAuthRequestedPayload payload
Implementation
BiometricAuthRequestedEvent(void Function(BiometricAuthRequestedPayload payload) eventHandler)
: super(
TelegramEventType.biometricAuthRequested,
(BiometricAuthRequestedPayloadJSObject payload) {
eventHandler.call(BiometricAuthRequestedPayload(
payload.isAuthenticated.toDart,
payload.biometricToken?.toDart,
));
}.toJS,
);