author method

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

Definition of author meta tag attribute https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML#adding_an_author_and_description Add web mata data of author attribute Example: String? author = 'Eng Mouaz M AlShahmeh'; Implement the interface

Implementation

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