reason property

String? reason
final

Optional reason for denying the connection.

This is useful for debugging and logging. When showMessage is true, this may also be displayed to the user.

Implementation

final String? reason;