single<T> method

Single single<T>(
  1. T createInstance()
)

Implementation

Single single<T>(final T Function() createInstance) {
  return Single<T>(createInstance);
}