merge method

Creates a copy of this ListTileThemeData but with the given fields replaced with the new values.

Implementation

ListTileThemeData merge(ListTileThemeData? other) {
  // if null return current object
  if (other == null) return this;

  return copyWith(
    style: other.style,
  );
}