toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (parentViewName != null) 'parent_view_name': parentViewName,
if (viewName != null) 'view_name': viewName,
if (keyboardShowing != null) 'keyboard_showing': keyboardShowing,
if (keyboardFrame != null) 'keyboard_frame': keyboardFrame,
if (actionType != null) 'action_type': actionType,
if (actionMode != null) 'action_mode': actionMode,
if (touchIndex != null) 'touch_index': touchIndex,
if (touchPoint != null) 'touch_point': touchPoint,
if (eventPairId != null) 'event_pair_id': eventPairId,
if (screenImage != null) 'screen_image': screenImage,
if (screenImageHash != null) 'screen_image_hash': screenImageHash,
if (texts != null) 'texts': texts,
if (hash != null) 'hash': hash,
if (views != null) 'views': views,
};
}