merge method

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

Creates a new instance of FastListItemDescriptor that is a combination of the current instance and another instance of FastListItemDescriptor.

Implementation

@override
FastListItemDescriptor merge(covariant FastListItemDescriptor model) {
  return copyWith(
    trailing: model.trailing,
    isDense: model.isDense,
    leading: model.leading,
    padding: model.padding,
    selectionLabelColor: model.selectionLabelColor,
    selectionColor: model.selectionColor,
  );
}