copyWith method
Facebook
copyWith(
{ - int? id,
- String? uid,
- String? companyUid,
- String? pageId,
- String? pageName,
- String? payload,
- String? accessToken,
- String? status,
- DateTime? createdAt,
- DateTime? updatedAt,
})
Implementation
Facebook copyWith({
int? id,
String? uid,
String? companyUid,
String? pageId,
String? pageName,
String? payload,
String? accessToken,
String? status,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return Facebook(
id: id ?? this.id,
uid: uid ?? this.uid,
companyUid: companyUid ?? this.companyUid,
pageId: pageId ?? this.pageId,
pageName: pageName ?? this.pageName,
payload: payload ?? this.payload,
accessToken: accessToken ?? this.accessToken,
status: status ?? this.status,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}