instance property

T get instance

The dynamic instance of the model. This must be overridden in subclasses to return a new instance of the model.

Implementation

T get instance =>
    throw UnimplementedError("instance getter must be implemented for $T");