ModelMapping class
- Annotations
-
- @freezed
Constructors
- ModelMapping({required String model, String? plural, String? findUnique, String? findUniqueOrThrow, String? findFirst, String? findFirstOrThrow, String? findMany, String? create, String? createMany, String? update, String? updateMany, String? upsert, String? delete, String? deleteMany, String? aggregate, String? groupBy, String? count, String? findRaw, String? aggregateRaw})
-
constfactory
-
ModelMapping.fromJson(Map<
String, dynamic> json) -
factory
Properties
- aggregate → String?
-
no setterinherited
- aggregateRaw → String?
-
no setterinherited
-
copyWith
→ $ModelMappingCopyWith<
ModelMapping> -
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