copyWith method
Implementation
ApiFriend copyWith({
String? idx,
String? myIdx,
String? otherIdx,
String? block,
String? reason,
String? createdAt,
String? updatedAt,
}) {
return ApiFriend(
idx: idx ?? this.idx,
myIdx: myIdx ?? this.myIdx,
otherIdx: otherIdx ?? this.otherIdx,
block: block ?? this.block,
reason: reason ?? this.reason,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}