SpendEvent constructor

SpendEvent(
  1. ResourceCategory category, {
  2. SpendMethod method = SpendMethod.Undefined,
  3. String? name,
  4. int value = 0,
  5. String? customString,
})

Implementation

SpendEvent(ResourceCategory category, { this.method=SpendMethod.Undefined, String? name, int value=0, String? customString }) {
  resourceCategory = category;
  this.name = name;
  this.value = value;
  this.customString = customString;
}