getEntity abstract method

Future<T> getEntity(
  1. int entityId
)

Retrieves the entity data by its ID.

Parameters:

  • entityId: The unique identifier of the entity to retrieve

Returns a Future<T> containing the entity data.

Throws:

  • May throw exceptions if the entity cannot be found or retrieved.

Implementation

Future<T> getEntity(int entityId);