copyWith method
Implementation
TomIdentity copyWith({String? displayName, String? authorId}) => TomIdentity(
displayName: displayName ?? this.displayName,
authorId: authorId ?? this.authorId,
);
TomIdentity copyWith({String? displayName, String? authorId}) => TomIdentity(
displayName: displayName ?? this.displayName,
authorId: authorId ?? this.authorId,
);