MemberState constructor

MemberState({
  1. String? currentApplianceName,
  2. String? shapeType,
  3. List<int>? strokeColor,
  4. num? strokeWidth,
  5. num? textSize,
})

Implementation

MemberState({
  this.currentApplianceName,
  String? shapeType,
  this.strokeColor,
  this.strokeWidth,
  this.textSize,
}) {
  if (ApplianceName.shape == currentApplianceName) {
    this.shapeType = shapeType ?? ShapeType.triangle;
  }
}