isErrorPacket method

bool isErrorPacket()

Implementation

bool isErrorPacket() {
  final _payload = payload;
  return _payload is MySQLPacketError;
}