copyWith method

  1. @override
WxTileThemeData copyWith({
  1. WxTileStyle? style,
})
override

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

Implementation

@override
WxTileThemeData copyWith({WxTileStyle? style}) {
  return WxTileThemeData(
    style: this.style.merge(style),
  );
}