decode static method

TtsRequest decode(
  1. Object result
)

Implementation

static TtsRequest decode(Object result) {
  result as List<Object?>;
  return TtsRequest(
    speech: result[0]! as String,
    isShowOnConversationLayer: result[1]! as bool,
    id: result[2] as UUID?,
    packageName: result[3] as String?,
    status: result[4] as TtsRequestStatus?,
    language: result[5] as int?,
    showAnimationOnly: result[6] as bool?,
    cached: result[7] as bool?,
  );
}