Id<T> constructor Null safety

const Id<T>(
  1. T value
)

Create the id for a specified value of T type.

Implementation

const Id(T value) : _value = value;