exists method

bool exists([
  1. dynamic key
])

Returns true if exception is null

Implementation

bool exists([dynamic key]) {
  return key != null
      ? this[key].exception == null && this[key].rawValue != null
      : exception == null && rawValue != null;
}