AvoidFutureTostring constructor

AvoidFutureTostring()

Implementation

AvoidFutureTostring()
  : super(
      code: dcqCode(
        name: 'avoid-future-tostring',
        problemMessage:
            'Calling toString() on a Future returns a useless representation.',
        correctionMessage: 'Await the Future before calling toString().',
      ),
    );