trySetField method

bool trySetField(
  1. K key,
  2. V value
)

Implementation

bool trySetField(K key, V value) {
  if (!key.testAccess(this)) return false;
  key.setIn(this, value);
  return true;
}