From 59ec14d0601e7261e915fdfa3fe11522c5f4f122 Mon Sep 17 00:00:00 2001 From: westito Date: Mon, 18 Oct 2021 15:43:15 +0200 Subject: [PATCH] Fix line length in comments --- drift/lib/src/dsl/table.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drift/lib/src/dsl/table.dart b/drift/lib/src/dsl/table.dart index 6487a331..a4b4d000 100644 --- a/drift/lib/src/dsl/table.dart +++ b/drift/lib/src/dsl/table.dart @@ -155,12 +155,14 @@ class UseRowClass { /// used to map database rows to the desired row class. final String constructor; - /// Generate a companion constructor mapping the referenced [type] to a companion. - /// - /// When this option is set (it defaults to `false`), moor generates a constructor in the - /// matching companion class of this table mapping an instance of [type] to a suitable + /// Generate a companion constructor mapping the referenced [type] to a /// companion. - /// This can be useful when a custom data class should be used for inserts or updates. + /// + /// When this option is set (it defaults to `false`), moor generates a + /// constructor in the matching companion class of this table mapping an + /// instance of [type] to a suitable companion. + /// This can be useful when a custom data class should be used for inserts or + /// updates. /// For this purpose, make it implement the `Insertable` interface, enable /// [generateToCompanion] and use the generated companion in your `toColumns` /// implementation.