ModelMapping constructor
const
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,
Implementation
const factory 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,
}) = _ModelMapping;