encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    format.index,
    bytes,
    width,
    height,
    planes,
    cropRect?.encode(),
    rotation?.index,
  ];
}