putAsync<S> method
Future<S>
putAsync<S>(
- AsyncInstanceBuilderCallback<
S> builder, { - String? tag,
- bool permanent = false,
async version of Get.put()
.
Awaits for the resolution of the Future from builder()
parameter and
stores the Instance returned.
Implementation
Future<S> putAsync<S>(AsyncInstanceBuilderCallback<S> builder,
{String? tag, bool permanent = false}) async =>
GetInstance().putAsync<S>(builder, tag: tag, permanent: permanent);