Hyperlink.add constructor

Hyperlink.add(
  1. String address, [
  2. String? screenTip,
  3. String? textToDisplay,
  4. HyperlinkType? type,
])

Creates an instance of Hyperlink with parameters.

Implementation

Hyperlink.add(
  this.address, [
  this.screenTip,
  this.textToDisplay,
  HyperlinkType? type,
]) {
  if (type != null) {
    this.type = type;
  } else {
    type = HyperlinkType.url;
  }
}