dataClassName property

String? dataClassName
final

The name for the data class that will be generated for the view class. The data class is a dart object that will be used to represent a result of the view. By default, drift will attempt to use the singular form of the table name when naming data classes (e.g. a table named "Users" will generate a data class called "User"). However, this doesn't work for irregular plurals and you might want to choose a different name, for which this annotation can be used.

Implementation

final String? dataClassName;