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