code property

wt_status_t? get code

The parsed status code, when it is one this binding knows about.

Implementation

b.wt_status_t? get code {
  try {
    return b.wt_status_t.fromValue(status);
  } on ArgumentError {
    return null;
  }
}