Attribute.get constructor

Attribute.get(
  1. Entity target,
  2. AttributeType attribute, {
  3. double? scale,
})

gets the calculated modifier(with base, armor and custom)

Implementation

Attribute.get(
  this.target,
  this.attribute, {
  this.scale,
}) : _type = _AttributeType.get;