copyFromMsg static method

FTCEffectText copyFromMsg(
  1. FTCEffectTextMsg msg
)

Implementation

static FTCEffectText copyFromMsg(FTCEffectTextMsg msg) {
  return FTCEffectText()
    ..text = msg.text
    ..fontStyle = msg.fontStyle
    ..color = msg.color
    ..alignment = msg.alignment
    ..fontSize = msg.fontSize;
}