@override Future<String?> getUserAgent() async { final userAgent = await methodChannel.invokeMethod<String>('getUserAgent'); return userAgent; }