ModelMapping class
- Annotations
-
- @freezed
Constructors
- ModelMapping({required String model, String? plural, @JsonKey(readValue: _modelMappingActionValueReader) String? findUnique, @JsonKey(readValue: _modelMappingActionValueReader) String? findUniqueOrThrow, @JsonKey(readValue: _modelMappingActionValueReader) String? findFirst, @JsonKey(readValue: _modelMappingActionValueReader) String? findFirstOrThrow, @JsonKey(readValue: _modelMappingActionValueReader) String? findMany, @JsonKey(readValue: _modelMappingActionValueReader) String? create, @JsonKey(readValue: _modelMappingActionValueReader) String? createMany, @JsonKey(readValue: _modelMappingActionValueReader) String? update, @JsonKey(readValue: _modelMappingActionValueReader) String? updateMany, @JsonKey(readValue: _modelMappingActionValueReader) String? upsert, @JsonKey(readValue: _modelMappingActionValueReader) String? delete, @JsonKey(readValue: _modelMappingActionValueReader) String? deleteMany, @JsonKey(readValue: _modelMappingActionValueReader) String? aggregate, @JsonKey(readValue: _modelMappingActionValueReader) String? groupBy, @JsonKey(readValue: _modelMappingActionValueReader) String? count, @JsonKey(readValue: _modelMappingActionValueReader) String? findRaw, @JsonKey(readValue: _modelMappingActionValueReader) String? aggregateRaw})
-
constfactory
-
ModelMapping.fromJson(Map<
String, dynamic> json) -
factory
Properties
- aggregate → String?
-
no setterinherited
- aggregateRaw → String?
-
no setterinherited
- count → String?
-
no setterinherited
- create → String?
-
no setterinherited
- createMany → String?
-
no setterinherited
- delete → String?
-
no setterinherited
- deleteMany → String?
-
no setterinherited
- findFirst → String?
-
no setterinherited
- findFirstOrThrow → String?
-
no setterinherited
- findMany → String?
-
no setterinherited
- findRaw → String?
-
no setterinherited
- findUnique → String?
-
no setterinherited
- findUniqueOrThrow → String?
-
no setterinherited
- groupBy → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String
-
no setterinherited
- plural → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- update → String?
-
no setterinherited
- updateMany → String?
-
no setterinherited
- upsert → 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