noParam static method

InitializerWithParam noParam(
  1. FutureOr init()
)

Implementation

static InitializerWithParam noParam(FutureOr init()) {
  return InitializerWithParam(() => null, (param) => init());
}