getModel method

ModelSchema? getModel(
  1. String name
)

Get a model schema by Prisma model name or mapped table name.

Implementation

ModelSchema? getModel(String name) => _models[name] ?? _modelsByTable[name];