getId method

Type getId()

Returns the Dart runtime Type of the entity identifier ID.

Provides runtime information about the ID type used by this repository.

Example

final idType = repository.getId(); // String
if (idType == String) { ... }

Implementation

Type getId() => ID;