copyWith method

MinecraftSkin copyWith({
  1. String? id,
  2. String? state,
  3. String? url,
  4. String? textureKey,
  5. String? variant,
})

Implementation

MinecraftSkin copyWith({
  String? id,
  String? state,
  String? url,
  String? textureKey,
  String? variant,
}) {
  return MinecraftSkin(
    id: id ?? this.id,
    state: state ?? this.state,
    url: url ?? this.url,
    textureKey: textureKey ?? this.textureKey,
    variant: variant ?? this.variant,
  );
}