StartupMessage constructor
StartupMessage(
- String databaseName,
- TimeZoneSettings timeZone, {
- String? username,
- ReplicationMode replication = ReplicationMode.none,
- required Encoding encoding,
Implementation
StartupMessage(
String databaseName,
TimeZoneSettings timeZone, {
String? username,
ReplicationMode replication = ReplicationMode.none,
required this.encoding,
}) : _databaseName = EncodedString(databaseName, encoding),
_timeZone = EncodedString(timeZone.value, encoding),
_username = username == null ? null : EncodedString(username, encoding),
_replication = EncodedString(replication.value, encoding);