toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'dsn': dsn,
'instanceName': instanceName,
'credentials': credentials,
'credentialsFile': credentialsFile,
'host': host,
'port': port,
'database': database,
'user': user,
'password': password,
'secretKey': secretKey,
'serverSettings': serverSettings,
'tlsCA': tlsCA,
'tlsCAFile': tlsCAFile,
'tlsSecurity': tlsSecurity,
'waitUntilAvailable': waitUntilAvailable?.inMilliseconds,
};
}