setDeviceId method

Future<void> setDeviceId(
  1. String deviceId
)

Implementation

Future<void> setDeviceId(String deviceId) async {
  Map<String, dynamic> properties = _baseProperties();
  properties['deviceId'] = deviceId;

  await _channel.invokeMethod('setDeviceId', jsonEncode(properties));
}