copyWith method

  1. @override
ResponsiveSvgIconData copyWith({
  1. bool? reflectable,
  2. bool? reflected,
  3. SvgColorSource? colorSource,
})
override

Create another instance of ResponsiveSvgIconData with specified configurations.

Implementation

@override

/// Create another instance of [ResponsiveSvgIconData] with specified configurations.
ResponsiveSvgIconData copyWith(
        {bool? reflectable, bool? reflected, SvgColorSource? colorSource}) =>
    ResponsiveSvgIconData(assetPaths,
        package: package,
        reflectable: reflectable ?? this.reflectable,
        reflected: reflected ?? this.reflected,
        colorSource: colorSource ?? this.colorSource);