Datagen constructor
const
Datagen({})
Creates a Datagen annotation with optional flags.
All options default to true.
Implementation
const Datagen({
this.copyWith = true,
this.fromJson = true,
this.fromJsonList = true,
this.toJson = true,
this.stringify = true,
this.equality = true,
this.omitFactory = true,
}) : assert(fromJsonList ? fromJson : true);