copyWith method
SourceText
copyWith({
- String? uuid,
- String? source,
- List<
MinecraftVersion> ? gameVersions, - String? key,
- SourceTextType? type,
Implementation
SourceText copyWith({
String? uuid,
String? source,
List<MinecraftVersion>? gameVersions,
String? key,
SourceTextType? type,
}) {
return SourceText(
uuid: uuid ?? this.uuid,
source: source ?? this.source,
gameVersions: gameVersions ?? this.gameVersions,
key: key ?? this.key,
type: type ?? this.type,
);
}