deviceSelfRegister method
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;
}