onLink method

void onLink(
  1. Uri url
)

Implementation

void onLink(Uri url) async {
  if (onLinkCallback != null) {
    onLinkCallback!(url);
  } else {
    Glassfy.openUrl(url);
  }
}