findById method

Future<UserProfileImage?> findById(
  1. Session session,
  2. UuidValue id, {
  3. Transaction? transaction,
  4. UserProfileImageInclude? include,
})

Finds a single UserProfileImage by its id or null if no such row exists.

Implementation

Future<UserProfileImage?> findById(
  _i1.Session session,
  _i1.UuidValue id, {
  _i1.Transaction? transaction,
  UserProfileImageInclude? include,
}) async {
  return session.db.findById<UserProfileImage>(
    id,
    transaction: transaction,
    include: include,
  );
}