merge method

  1. @override
FastReportEntry merge(
  1. covariant FastReportEntry model
)
override

Creates a new TModel where each properties from this object has been merged with the matching properties from the other object.

For example:

var myModel3 = myModel1.merge(myModel2);

Implementation

@override
FastReportEntry merge(covariant FastReportEntry model) {
  return copyWith(
    name: model.name,
    value: model.value,
    color: model.color,
  );
}