updateWith method

Future<ActionResult> updateWith(
  1. Future<ActionResult> future
)

Update self with future ActionResult

Implementation

Future<ActionResult> updateWith(Future<ActionResult> future) async {
  await value.updateWith(future).forEach((v) => this.value = v);

  return ActionResult.from(this.value);
}