ConnectionValidationResult constructor
const
ConnectionValidationResult({})
Creates a connection validation result.
Parameters:
allowed: Whether the connection should be allowed (default: true)reason: Optional reason for the decision (for debugging/logging)showMessage: Whether to show a visual message to the user (default: false)
Implementation
const ConnectionValidationResult({
this.allowed = true,
this.reason,
this.showMessage = false,
});