setName method Null safety

void setName(
  1. String name
)

Sets the name for the device.

Implementation

static void setName(String name) {
  _invokeSdkVoidMethod(SdkMethod.setName, serializeName(name));
}