registerDevice static method
Implementation
static Future<bool> registerDevice(Map<String, dynamic> profile) async {
print("res--------------- " + profile.toString());
String res = await _channel
.invokeMethod('doRegister', <String, dynamic>{'profile': profile});
print("res1 " + res);
if (res == "true") {
return true;
}
return false;
}