DataClassName.custom constructor

const DataClassName.custom({
  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").

Implementation

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