merge method

TileThemeData merge(
  1. TileThemeData? other
)

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

Implementation

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

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