toMap method
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> map = <String, dynamic>{
'imageUri': imageUri.toString(),
'position': position.position,
'quality': quality,
'rotation': rotation,
'zOrder': zOrder.order
};
return map;
}