isProtocolError property

bool get isProtocolError

Check if this is a protocol error

Implementation

bool get isProtocolError =>
    code == '400' && message.startsWith('Protocol Error');