merge method

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

Implementation

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

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