copyWith method
Implementation
AuthorInfo copyWith({
AuthorType? type,
String? name
}) {
return AuthorInfo(
type: type ?? this.type,
name: name ?? this.name
);
}
AuthorInfo copyWith({
AuthorType? type,
String? name
}) {
return AuthorInfo(
type: type ?? this.type,
name: name ?? this.name
);
}