update method Null safety

Future update (
  1. dynamic value
)

Implementation

Future update(value) {
  try {
    return _completeRequest(_update(value));
  } catch (e, stacktrace) {
    return new Future.error(e, stacktrace);
  }
}