charset method

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

Definition of charset meta tag attribute https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset Add web mata data of charset attribute Example: String? charset = 'UTF-8'; Implement the interface

Implementation

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