diff --git a/flutter/lib/web/bridge.dart b/flutter/lib/web/bridge.dart index 4a4e89233..66191d004 100644 --- a/flutter/lib/web/bridge.dart +++ b/flutter/lib/web/bridge.dart @@ -2034,5 +2034,9 @@ class RustdeskImpl { return false; } + String mainResolveAvatarUrl({required String avatar, dynamic hint}) { + return js.context.callMethod('getByName', ['resolve_avatar_url', avatar])?.toString() ?? avatar; + } + void dispose() {} }