DeviceEventData constructor

DeviceEventData({
  1. Device? payload,
})

Implementation

factory DeviceEventData({
  Device? payload,
}) {
  final $result = create();
  if (payload != null) {
    $result.payload = payload;
  }
  return $result;
}