getByKeyValue method
Implementation
Future<TEntity> getByKeyValue(
String keyValue, {
RepositoryTransaction? transaction,
}) async {
var map = await repository.get(
keyValue,
principal,
transaction: transaction,
);
var entity = mapMapper.fromMap(map);
return entity;
}