setGlobalBuilder static method

void setGlobalBuilder(
  1. FailedResultBuilder? builder
)

Set global default builder, if builder is null, it revert it to default one.

Implementation

static void setGlobalBuilder(FailedResultBuilder? builder) {
  _globalBuilder = builder ?? defaultGlobalBuilder;
}