cake_wallet/lib/core/auth_service.dart
2020-06-01 21:13:56 +03:00

21 lines
557 B
Dart

import 'package:flutter/foundation.dart';
import 'package:mobx/mobx.dart';
import 'package:cake_wallet/core/setup_pin_code_state.dart';
part 'auth_service.g.dart';
class AuthService = AuthServiceBase with _$AuthService;
abstract class AuthServiceBase with Store {
@observable
SetupPinCodeState setupPinCodeState;
Future<void> setupPinCode({@required String pin}) async {}
Future<bool> authenticate({@required String pin}) async {
return false;
}
void resetSetupPinCodeState() =>
setupPinCodeState = InitialSetupPinCodeState();
}