mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-26 10:33:15 +03:00
10 lines
215 B
Dart
10 lines
215 B
Dart
import 'package:flutter/services.dart';
|
|
|
|
class UserCancelledException implements Exception {
|
|
UserCancelledException();
|
|
|
|
static isCancellation(PlatformException pe) =>
|
|
pe.code == 'UserCancelledException';
|
|
|
|
}
|