ServerConfig class Null safety

Inheritance

Constructors

ServerConfig({ServerType? type, String? hostname, int? port, SocketType? socketType, Authentication? authentication, UsernameType? usernameType})

Properties

authentication Authentication?
read / write
authenticationAlternative Authentication?
read / write
authenticationAlternativeName String?
read / write
authenticationName String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hostname String?
read / write
isSecureSocket bool
read-only
port int?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
socketType SocketType?
read / write
socketTypeName String
read / write
type ServerType?
read / write
typeName String
read / write
username String
read / write
usernameType UsernameType?
read / write

Methods

getUserName(String email) String?
Retrieves the user name based on the specified email address. Returns null in case usernameType is UsernameType.realname or UsernameType.unknown.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read(Map<String, dynamic> attributes) → void
Reads all field keys and values from the specified attributes map. This method is called after the de-serialization. [...]
override
toString() String
A string representation of this object. [...]
override
write(Map<String, dynamic> attributes) → void
Sets all field keys and values in the specified attributes map. This method is called before the serialization. [...]
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override