close<T extends Object?> abstract method Null safety

void close<T extends Object?>(
  1. [T result]
)

Close the current top most location.

result to return when the location is closed.

result is the value by which navigateTo future complete.

Implementation

void close<T extends Object?>([final T result]);