Damage.at constructor

Damage.at(
  1. Location? location, {
  2. required Entity target,
  3. required double amount,
  4. String? damageType,
})

Implementation

Damage.at(
  this.location, {
  required this.target,
  required this.amount,
  this.damageType,
})  : by = null,
      cause = null;