Document class
Prisma DMMF document.
- Annotations
-
- @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)
Constructors
- Document.new({required Datamodel datamodel, required Schema schema, required Mappings mappings})
-
Create a new DMMF document.
const
-
Document.fromJson(Map<
String, dynamic> json) -
Document from JSON factory constructor.
factory
Properties
- datamodel → Datamodel
-
Prisma DMMF datamodel field.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mappings → Mappings
-
Prisma DMMF mappings field.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → Schema
-
Prisma DMMF scehma field.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Document as JSON map.
-
toString(
) → String -
Document as JSON string.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited