copyFromMsg static method

Implementation

static FTCEffectAnimInfo copyFromMsg(FTCEffectAnimInfoMsg msg) {
  // msg.mixInfo?.
  return FTCEffectAnimInfo()
    ..type = msg.type
    ..duration = msg.duration
    ..width = msg.width
    ..height = msg.height
    ..encryptLevel = msg.encryptLevel
    ..mixInfo = msg.mixInfo != null ? FMixInfo.copyFromMsg(msg.mixInfo!) : null;
}