// In order to *not* need this ignore, consider extracting the "web" version// of your plugin as a separate package, instead of inlining it in the same// package as the core of your plugin.// ignore: avoid_web_libraries_in_flutterimport'dart:html'ashtmlshowwindow;import'package:flutter_web_plugins/flutter_web_plugins.dart';import'clx_flutter_message_platform_interface.dart';/// A web implementation of the ClxFlutterMessagePlatform of the ClxFlutterMessage plugin.classClxFlutterMessageWebextendsClxFlutterMessagePlatform{/// Constructs a ClxFlutterMessageWebClxFlutterMessageWeb();staticvoidregisterWith(Registrarregistrar){ClxFlutterMessagePlatform.instance=ClxFlutterMessageWeb();}/// Returns a [String] containing the version of the platform.@overrideFuture<String?>getPlatformVersion()async{finalversion=html.window.navigator.userAgent;returnversion;}}