collisionResolutionNumber property

int? get collisionResolutionNumber

Implementation

int? get collisionResolutionNumber {
  if (collisionResolutionRecordList.isNotEmpty) {
    return collisionResolutionRecordList[0].randomNumber;
  } else {
    return null;
  }
}
set collisionResolutionNumber (int? collisionResolutionNumber)

Implementation

set collisionResolutionNumber(int? collisionResolutionNumber) {
  if (collisionResolutionRecordList.isEmpty) {
    collisionResolutionRecordList.add(
        CollisionResolutionRecord(randomNumber: collisionResolutionNumber));
  } else {
    collisionResolutionRecordList[0].randomNumber = collisionResolutionNumber;
  }
}