rebindDevice method

  1. @override
Future<bool> rebindDevice()
override

Ties the app's data to this device again, so appDataMigrated reads clean until the data moves again. Returns false where there is no such check.

Implementation

@override
Future<bool> rebindDevice() async {
  final rebound = await methodChannel.invokeMethod<bool>('rebindDevice');
  return rebound ?? false;
}