Mappings class

Prisma DMMF mapping.

Annotations
  • @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)

Constructors

Mappings({required List<ModelMapping> modelOperations, required OtherOperationMappings otherOperations})
Create a new DMMF mapping.
const
Mappings.fromJson(Map<String, dynamic> json)
Mappings from JSON factory constructor.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
modelOperations List<ModelMapping>
Model operation mappings
final
otherOperations OtherOperationMappings
Mappings other operation mapping
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Mappings as JSON map.
toString() String
Mappings as JSON string.
override

Operators

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