Notification constructor

Notification({
  1. int? subscriptionId,
  2. String? data,
})

Implementation

factory Notification({
  $core.int? subscriptionId,
  $core.String? data,
}) {
  final _result = create();
  if (subscriptionId != null) {
    _result.subscriptionId = subscriptionId;
  }
  if (data != null) {
    _result.data = data;
  }
  return _result;
}