ogTitle method

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

Definition of og:title 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 ogTitle attribute Implement the interface

Implementation

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