FFGenerateCurrentPageLink constructor

FFGenerateCurrentPageLink({
  1. FFValue? title,
  2. FFValue? previewImageUrl,
  3. FFValue? description,
  4. bool? isShortLink,
  5. bool? forceRedirect,
})

Implementation

factory FFGenerateCurrentPageLink({
  FFValue? title,
  FFValue? previewImageUrl,
  FFValue? description,
  $core.bool? isShortLink,
  $core.bool? forceRedirect,
}) {
  final result = create();
  if (title != null) result.title = title;
  if (previewImageUrl != null) result.previewImageUrl = previewImageUrl;
  if (description != null) result.description = description;
  if (isShortLink != null) result.isShortLink = isShortLink;
  if (forceRedirect != null) result.forceRedirect = forceRedirect;
  return result;
}