instance<T> static method

T? instance<T>()

Function used to get instance of stored object by its type.

Implementation

static T? instance<T>() => _instance[T.toString()];