encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    topLeft?.encode(),
    topRight?.encode(),
    bottomLeft?.encode(),
    bottomRight?.encode(),
    canvasWidth,
    canvasHeight,
    enableMirror,
  ];
}