ModelMapping constructor

const ModelMapping({
  1. required String model,
  2. String? plural,
  3. String? findUnique,
  4. String? findUniqueOrThrow,
  5. String? findFirst,
  6. String? findFirstOrThrow,
  7. String? findMany,
  8. String? create,
  9. String? createMany,
  10. String? update,
  11. String? updateMany,
  12. String? upsert,
  13. String? delete,
  14. String? deleteMany,
  15. String? aggregate,
  16. String? groupBy,
  17. String? count,
  18. String? findRaw,
  19. 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;