constructor(options) {
        super(options);

        this.type = options.type;
        this.subType = options.subType ?? ConsumableStateAttribute.SUB_TYPE.NONE;

        this.remaining = options.remaining;
    }
@param {object} options
@param {ConsumableStateAttributeType} options.type
@param {ConsumableStateAttributeSubType} [options.subType]
@param {object} [options.metaData]
@param {object} options.remaining
@param {number} options.remaining.value
@param {ConsumableStateAttributeRemainingUnit} options.remaining.unit