setPaint method

void setPaint(
  1. Object paintId,
  2. Paint paint
)
inherited

Sets a paint on the collection.

Implementation

void setPaint(T paintId, Paint paint) {
  _paints[paintId] = paint;
}