DeviceLightEvent(String type, [Map eventInitDict])

Source

@DomName('DeviceLightEvent.DeviceLightEvent')
@DocsEditable()
factory DeviceLightEvent(String type, [Map eventInitDict]) {
  if (eventInitDict != null) {
    var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
    return _blink.BlinkDeviceLightEvent.instance.constructorCallback_2_(type, eventInitDict_1);
  }
  return _blink.BlinkDeviceLightEvent.instance.constructorCallback_1_(type);
}