copyWith method
Implementation
RelationData copyWith(
{User? createdBy, DateTime? createdDate, String? friendlyCreatedDate}) {
return RelationData(
createdBy: createdBy ?? this.createdBy,
createdDate: createdDate ?? this.createdDate,
friendlyCreatedDate: friendlyCreatedDate ?? this.friendlyCreatedDate,
);
}