DrawCommand constructor

const DrawCommand(
  1. DrawCommandType type, {
  2. int? objectId,
  3. int? paintId,
  4. String? debugString,
  5. int? patternId,
  6. int? patternDataId,
})

Creates a new canvas drawing operation.

See DrawCommand.

Implementation

const DrawCommand(
  this.type, {
  this.objectId,
  this.paintId,
  this.debugString,
  this.patternId,
  this.patternDataId,
});