userAgent property
String
get
userAgent
Gets the user's User-Agent for security logging.
Implementation
String get userAgent => header('user-agent') ?? 'unknown';
Gets the user's User-Agent for security logging.
String get userAgent => header('user-agent') ?? 'unknown';