buildPayload method
Implementation
List<AddonsFunDetails> buildPayload(int rowSequence) {
final pageElementId = context.pageElementId(rowSequence);
return [
...notes,
...images,
...files,
].map((e) {
return e.copyWith(
funRefId: rowSequence,
funRefVal: e.funRefVal,
moduleId: context.moduleId,
transType: context.transType,
transId: context.transId,
pageElementId: pageElementId,
createdBy: context.createdBy,
isActive: e.isActive ?? 1,
);
}).toList();
}