deviceSelfRegister method

  1. @override
Future<int> deviceSelfRegister()
override

Implementation

@override
Future<int> deviceSelfRegister() async {
  final result = await methodChannel.invokeMethod<int>('deviceSelfRegister');
  if (result == null) {
    throw Exception("Failed to get result from native code.");
  }
  return result;
}