schulcloud-flutter
schulcloud-flutter copied to clipboard
Use typed IDs
Is your feature request related to a problem? Please describe.
Id
should have a constrained type bound and Entity
's id
should be typed
Describe the solution you'd like
class Id<E extends Entity<E>>
and class Entity<E extends Entity<E>>
with Id<E> get id