withNullable method

ResolveResult withNullable(
  1. bool nullable
)

Copies the result with the nullable information, if there is one. If there isn't, the failure state will be copied into the new ResolveResult.

Implementation

ResolveResult withNullable(bool nullable) {
  return mapResult((r) => r!.withNullable(nullable));
}