PrivacyUtil class

隐私保护工具类

提供隐私信息处理相关的工具方法,包括 URL 鉴权参数移除、字符串模糊化等功能。 用于在日志输出、错误上报等场景中保护敏感信息。

Privacy Protection Utility Class

Provides utility methods for privacy information processing, including URL authentication parameter removal, string blurring, etc. Used to protect sensitive information in scenarios such as log output and error reporting.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

blur(String? value) → String
模糊化字符串
removeAuthKeyFromUrl(String? url) → String?
从 URL 中移除鉴权参数 (auth_key)