copyWith method
MailServerConfig
copyWith({
- ServerConfig? serverConfig,
- MailAuthentication? authentication,
- String? pathSeparator,
- List<
Capability> ? serverCapabilities,
Copies this MailServerConfig with the given values
Implementation
MailServerConfig copyWith({
ServerConfig? serverConfig,
MailAuthentication? authentication,
String? pathSeparator,
List<Capability>? serverCapabilities,
}) =>
MailServerConfig(
serverConfig: serverConfig ?? this.serverConfig,
authentication: authentication ?? this.authentication,
pathSeparator: pathSeparator ?? this.pathSeparator,
serverCapabilities: serverCapabilities ?? this.serverCapabilities,
);