serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeIntValue('amount', amount);
writer.writeStringValue('application', application);
writer.writeStringValue('currency', currency);
writer.writeStringValue('description', description);
writer.writeStringValue('type', type_);
writer.writeAdditionalData(additionalData);
}