setAttribute static method

dynamic setAttribute(
  1. String key,
  2. String value
)

Implementation

static setAttribute(String key, String value) {
  _channel.invokeMethod("setAttribute", {"key": key, "value": value});
}