copyWith method

IconPickerIcon copyWith({
  1. String? name,
  2. IconData? data,
  3. IconPack? pack,
})

Implementation

IconPickerIcon copyWith({
  String? name,
  IconData? data,
  IconPack? pack,
}) {
  return IconPickerIcon(
    name: name ?? this.name,
    data: data ?? this.data,
    pack: pack ?? this.pack,
  );
}