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, required bool dataProxy, bool? postinstall}) -
constfactory
-
GeneratorOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- binaryPaths → BinaryPaths?
-
no setterinherited
- datamodel → String
-
TODO: deprecate datamodel & rename to schema?
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> ? -
TODO: what is otherGenerators for?
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
-
TODO: is it really always version hash? Feature is unclear.
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