copyWith method
Implementation
NamedIcon copyWith({
String? name,
IconData? iconData,
IconData? solidData,
bool? circular,
bool? isSolid,
Color? color,
Color? foregroundColor,
double? size,
}) {
return NamedIcon._(name ?? this.name,
iconData: iconData ?? this.iconData,
solidData: solidData ?? this.solidData,
circular: circular ?? this.circular,
isSolid: isSolid ?? this._isSolid,
color: color ?? this._color,
foregroundColor: foregroundColor ?? this._foregroundColor,
size: size ?? this.size);
}