setDeviceCredentials static method
Implementation
static Future<String?> setDeviceCredentials(Map credentials) async {
// Attempt to assign device credentials
return await _channel.invokeMethod<String>('setDeviceCredentials',
<dynamic>[credentials['token'], credentials['authKey']]);
}