ifSuccessful abstract method

void ifSuccessful(
  1. void value(
    1. T
    )
)

Calls the given function if this Result contains a value.

Implementation

void ifSuccessful(void Function(T) value);