documentIsNotAnError method

bool documentIsNotAnError(
  1. dynamic firstRepliedDocument
)

Implementation

bool documentIsNotAnError(firstRepliedDocument) =>
    firstRepliedDocument['ok'] == 1.0 && firstRepliedDocument['err'] == null;