twitterDescription method

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

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

Implementation

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