encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    id,
    castShadows,
    color,
    colorTransition?.encode(),
    direction,
    directionTransition?.encode(),
    intensity,
    intensityTransition?.encode(),
    shadowIntensity,
    shadowIntensityTransition?.encode(),
  ];
}