SpendEvent constructor
SpendEvent(
- ResourceCategory category, {
- SpendMethod method = SpendMethod.Undefined,
- String? name,
- int value = 0,
- 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;
}