SendData constructor

SendData({
  1. Iterable<String>? to,
  2. String? label,
  3. String? payload,
})

Implementation

factory SendData({
  $core.Iterable<$core.String>? to,
  $core.String? label,
  $core.String? payload,
}) {
  final $result = create();
  if (to != null) {
    $result.to.addAll(to);
  }
  if (label != null) {
    $result.label = label;
  }
  if (payload != null) {
    $result.payload = payload;
  }
  return $result;
}