ReceiveEvent constructor

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

Implementation

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