findById method

Future<UserInfo?> findById(
  1. Session session,
  2. int id, {
  3. Transaction? transaction,
})

Implementation

Future<UserInfo?> findById(
  _i1.Session session,
  int id, {
  _i1.Transaction? transaction,
}) async {
  return session.db.findById<UserInfo>(
    id,
    transaction: transaction ?? session.transaction,
  );
}