encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    text,
    x,
    y,
    color,
    textSize,
    opacity,
    animation,
  ];
}