isIosError method

bool isIosError(
  1. int errorCode
)

Returns true if the exception was caused by error with code errorCode on iOS.

Implementation

bool isIosError(int errorCode) =>
    Platform.isIOS && errorCode == this.osError?.errorCode;