code property

String get code

A code that identifies this error.

Possible values are names of errors, like {@linkcode FileSystemError.FileNotFoundFileNotFound}, or Unknown for unspecified errors.

Implementation

_i2.String get code => _i5.getProperty(
      this,
      'code',
    );