MessagePublishedData constructor

MessagePublishedData({
  1. PubsubMessage? message,
  2. String? subscription,
})

Implementation

factory MessagePublishedData({
  PubsubMessage? message,
  $core.String? subscription,
}) {
  final $result = create();
  if (message != null) {
    $result.message = message;
  }
  if (subscription != null) {
    $result.subscription = subscription;
  }
  return $result;
}