dateTimeWithError method

Stream<DateTime> dateTimeWithError()

Implementation

Stream<DateTime> dateTimeWithError() async* {
  yield DateTime.now();
  exceptionMode('An exception occurred');
}