ConnectionSettings class Null safety

Constructors

ConnectionSettings({String host = 'localhost', int port = 3306, String? user, String? password, String? db, bool useCompression = false, bool useSSL = false, int maxPacketSize = 16 * 1024 * 1024, Duration timeout = const Duration(seconds: 30), int characterSet = CharacterSet.UTF8MB4})
ConnectionSettings.copy(ConnectionSettings o)
ConnectionSettings.socket({required String path, String? user, String? password, String? db, bool useCompression = false, bool useSSL = false, int maxPacketSize = 16 * 1024 * 1024, Duration timeout = const Duration(seconds: 30), int characterSet = CharacterSet.UTF8MB4})
factory

Properties

characterSet int
read / write
db String?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
host String
read / write
maxPacketSize int
read / write
password String?
read / write
port int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
timeout Duration
The timeout for connecting to the database and for all database operations.
read / write
useCompression bool
read / write
user String?
read / write
useSSL bool
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited