nameContent method

  1. @override
dynamic nameContent({
  1. required String name,
  2. required String content,
})
override

Definition of name meta tag attribute If you do not found meta name you want just use metaName Definition of content meta tag attribute The value is used for other named meta not listed in attributes by metaNameContent Add web mata data of other meta named with content Implement the interface

Implementation

@override
nameContent(
    {
    /// Definition of [name] meta tag attribute
    required String name,

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