Serializes the layout data.
@override Map<String, dynamic> serialize() { return {"inputData": inputData, "offset": offset}; }