encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    modelUri,
    position,
    modelOpacity,
    modelScale,
    modelScaleExpression,
    modelTranslation,
    modelRotation,
    modelCastShadows,
    modelReceiveShadows,
    modelScaleMode,
    modelEmissiveStrength,
    modelEmissiveStrengthExpression,
  ];
}