future property

  1. @override
Future<T> get future
override

Implementation

@override
Future<T> get future => route.popped.then((value) {
      assert(value is T, 'Dialog route was closed without returning a value');
      return value as T;
    });