ogDescription method

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

Definition of og:description meta tag attribute https://ogp.me https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#other_types_of_metadata Add web mata data of ogDescription attribute Implement the interface

Implementation

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