twitterImage method

  1. @override
dynamic twitterImage({
  1. required String twitterImage,
})
override

Definition of twitter:image meta tag attribute https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup Add web mata data of twitterImage attribute Implement the interface

Implementation

@override
twitterImage(
    {
    /// Definition of [twitter:image] meta tag attribute
    required String twitterImage}) {
  /// Call the javascript function with needed attributes
  js.context.callMethod('seoNameJS', ['twitter:image', twitterImage]);
}