setDeviceAlias method Null safety

void setDeviceAlias(
  1. {required String key,
  2. required String value}
)

Sets the key, value pair to the device alias.

  • Parameter key The key that uniquely identifies the device alias.
  • Parameter value The value to set for the device alias.

Implementation

static void setDeviceAlias({
  required String key,
  required String value,
}) {
  Logger.called('setDeviceAlias');
  _register.setDeviceAlias(key: key, value: value);
}