4

How do you memoize your futures? I am using a FutureBuilder that gets items data by some params.

I found here a suggestion to use AsyncMemoizer, however it looks like it's missing from the dart:async package.

Are there alternatives?

valk
  • 8,655
  • 11
  • 54
  • 76

1 Answers1

14
import 'package:async/async.dart';
Zephyr
  • 10,450
  • 29
  • 41
  • 68