CreateFn<T> typedef

CreateFn<T> = T Function(Ref<Object?> ref)

A generic function that creates an instance of T using a ref.

Implementation

typedef CreateFn<T> = T Function(Ref ref);