const OSError([String message = "", int errorCode = noErrorCode])

Creates an OSError object from a message and an errorCode.

Source

const OSError([this.message = "", this.errorCode = noErrorCode]);