forResult

open fun <TResult> forResult(@Nullable value: TResult): Task<TResult>

Creates a completed task with the given value.