extension_general_lib_convertAsync<K extends Object?> method

FutureOr<K> extension_general_lib_convertAsync<K extends Object?>({
  1. required FutureOr<K> onConvert(
    1. T value
    ),
})

Implementation

FutureOr<K> extension_general_lib_convertAsync<K extends Object?>({
  required FutureOr<K> Function(T value) onConvert,
}) async {
  return await onConvert(this);
}