DataClassName constructor

const DataClassName(
  1. String? name, {
  2. Type? extending,
  3. String? companion,

Customize the data class name for a given table. By default, drift will attempt to use the view name followed by "Data" when naming data classes (e.g. a view named "UserView" will generate a data class called "UserViewData").


const DataClassName(, {this.extending, this.companion});