GeneratorOptions class

Annotations
  • @freezed

Constructors

GeneratorOptions({required GeneratorConfig generator, List<GeneratorConfig>? otherGenerators, required String schemaPath, required Document dmmf, required List<DataSource> datasources, required String datamodel, required String version, BinaryPaths? binaryPaths, @Default(false) bool dataProxy, bool? postinstall})
const
factory
GeneratorOptions.fromJson(Map<String, dynamic> json)
factory

Properties

binaryPaths BinaryPaths?
no setterinherited
copyWith → $GeneratorOptionsCopyWith<GeneratorOptions>
no setterinherited
datamodel String
no setterinherited
dataProxy bool
no setterinherited
datasources List<DataSource>
no setterinherited
dmmf Document
no setterinherited
generator GeneratorConfig
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
otherGenerators List<GeneratorConfig>?
no setterinherited
postinstall bool?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaPath String
no setterinherited
version String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited