retain method Null safety

void retain()
inherited

Implementation

void retain() {
  _retainCount++;
}