GatewayEventData constructor

GatewayEventData({
  1. Gateway? payload,
})

Implementation

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