setAttribute

Sets a custom attribute for the device.

  • key (String) - The attribute key
  • value (Object?) - The attribute value
  • Future<void> - Completes when the attribute has been set.