@@ -177,7 +177,7 @@ abstract class Session {
177177 Future <Result > execute (
178178 Object /* String | Sql */ query, {
179179 Object ? /* List<Object?|TypedValue> | Map<String, Object?|TypedValue> */
180- parameters,
180+ parameters,
181181 bool ignoreRows = false ,
182182 QueryMode ? queryMode,
183183 Duration ? timeout,
@@ -227,8 +227,10 @@ abstract class Connection implements Session, SessionExecutor {
227227 Endpoint endpoint, {
228228 ConnectionSettings ? settings,
229229 }) {
230- return PgConnectionImplementation .connect (endpoint,
231- connectionSettings: settings);
230+ return PgConnectionImplementation .connect (
231+ endpoint,
232+ connectionSettings: settings,
233+ );
232234 }
233235
234236 /// Open a new connection where the endpoint and the settings are encoded as an URL as
@@ -275,12 +277,13 @@ abstract class ResultStreamSubscription
275277
276278abstract class Statement {
277279 ResultStream bind (
278- Object ? /* List<Object?|TypedValue> | Map<String, Object?|TypedValue> */
279- parameters);
280+ Object ? /* List<Object?|TypedValue> | Map<String, Object?|TypedValue> */
281+ parameters,
282+ );
280283
281284 Future <Result > run (
282285 Object ? /* List<Object?|TypedValue> | Map<String, Object?|TypedValue> */
283- parameters, {
286+ parameters, {
284287 Duration ? timeout,
285288 });
286289
@@ -306,8 +309,8 @@ class ResultRow extends UnmodifiableListView<Object?> {
306309 required List <Object ?> values,
307310 required this .schema,
308311 List <bool >? sqlNulls,
309- }) : _sqlNulls = sqlNulls,
310- super (values);
312+ }) : _sqlNulls = sqlNulls,
313+ super (values);
311314
312315 /// Returns true if the result at [columnIndex] returned SQL `NULL` value.
313316 ///
@@ -432,14 +435,8 @@ final class Endpoint {
432435 });
433436
434437 @override
435- int get hashCode => Object .hash (
436- host,
437- port,
438- database,
439- username,
440- password,
441- isUnixSocket,
442- );
438+ int get hashCode =>
439+ Object .hash (host, port, database, username, password, isUnixSocket);
443440
444441 @override
445442 bool operator == (Object other) {
@@ -468,8 +465,7 @@ enum SslMode {
468465 require,
469466
470467 /// Always use SSL and verify certificates.
471- verifyFull,
472- ;
468+ verifyFull;
473469
474470 bool get ignoreCertificateIssues => this == SslMode .require;
475471
@@ -599,8 +595,7 @@ enum IsolationLevel {
599595
600596 /// One transaction may see uncommitted changes made by some other transaction.
601597 /// In PostgreSQL READ UNCOMMITTED is treated as READ COMMITTED.
602- readUncommitted._('READ UNCOMMITTED' ),
603- ;
598+ readUncommitted._('READ UNCOMMITTED' );
604599
605600 /// The SQL identifier of the isolation level including "ISOLATION LEVEL" prefix
606601 /// and leading space.
@@ -622,8 +617,7 @@ enum AccessMode {
622617 /// GRANT, REVOKE, TRUNCATE; and EXPLAIN ANALYZE and EXECUTE if the command
623618 /// they would execute is among those listed. This is a high-level notion of
624619 /// read-only that does not prevent all writes to disk.
625- readOnly._('READ ONLY' ),
626- ;
620+ readOnly._('READ ONLY' );
627621
628622 /// The SQL identifier of the access mode including leading space.
629623 @internal
@@ -644,8 +638,7 @@ enum DeferrableMode {
644638 deferrable._('DEFERRABLE' ),
645639
646640 /// The default mode.
647- notDeferrable._('NOT DEFERRABLE' ),
648- ;
641+ notDeferrable._('NOT DEFERRABLE' );
649642
650643 /// The SQL identifier of the deferrable mode including leading space.
651644 @internal
@@ -662,11 +655,7 @@ class Retry<R> {
662655 final FutureOr <R > Function ()? orElse;
663656 final FutureOr <bool > Function (Exception )? retryIf;
664657
665- Retry ({
666- required this .maxAttempts,
667- this .orElse,
668- this .retryIf,
669- });
658+ Retry ({required this .maxAttempts, this .orElse, this .retryIf});
670659}
671660
672661/// The characteristics of the current transaction.
0 commit comments