toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
...interaction.toJson(),
"type": type,
"media_resource_uuid": mediaResourceUuid,
"action": action,
"resized": resized,
"x": x,
"y": y,
};