Embed_EmbedHeading constructor

Embed_EmbedHeading({
  1. String? text,
  2. String? subtext,
  3. String? url,
  4. String? icon,
})

Implementation

factory Embed_EmbedHeading({
  $core.String? text,
  $core.String? subtext,
  $core.String? url,
  $core.String? icon,
}) {
  final _result = create();
  if (text != null) {
    _result.text = text;
  }
  if (subtext != null) {
    _result.subtext = subtext;
  }
  if (url != null) {
    _result.url = url;
  }
  if (icon != null) {
    _result.icon = icon;
  }
  return _result;
}