update method

Future<void> update()

Implementation

Future<void> update() {
  return fetch().then(_data.add).catchError((Object error, StackTrace stack) {
    debugPrint(stack.toString());
    _data.add(null);
  });
}