copyWith method
Implementation
MinecraftAccountProfile copyWith({
String? username,
String? uuid,
String? accessToken,
DateTime? expiresAt,
}) {
return MinecraftAccountProfile(
id: username ?? id,
name: uuid ?? name,
skins: skins,
capes: capes,
profileActions: profileActions,
);
}