Returns true if the exception was caused by error with code errorCode on iOS.
true
errorCode
bool isIosError(int errorCode) => Platform.isIOS && errorCode == this.osError?.errorCode;