closeWithResult<X> method

  1. @override
Future<void> closeWithResult<X>([
  1. X? value
])
override

Implementation

@override
Future<void> closeWithResult<X>([X? value]) {
  return widget.onCloseWithResult?.call(value) ?? Future.value();
}