isFuchsiaError method

bool isFuchsiaError(
  1. int errorCode
)

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

Implementation

bool isFuchsiaError(int errorCode) =>
    Platform.isFuchsia && errorCode == this.osError?.errorCode;