toMap method

Map<String, dynamic> toMap()

Converts this object to a map.

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'width': size.width,
    'height': size.height,
    'format': format.index,
    'quality': quality,
    'frame': frame,
  };
}