serialize method

  1. @override
Map<String, dynamic> serialize()
override

Serializes the layout data.

Implementation

@override
Map<String, dynamic> serialize() {
  return {"amount": amount};
}