setTextStyle method

void setTextStyle(
  1. DetectedType type,
  2. TextStyle style
)

Implementation

void setTextStyle(DetectedType type, TextStyle style){
  detectionTextStyles[type] = style;
}