copyWith method

Facebook copyWith({
  1. int? id,
  2. String? uid,
  3. String? companyUid,
  4. String? pageId,
  5. String? pageName,
  6. String? payload,
  7. String? accessToken,
  8. String? status,
  9. DateTime? createdAt,
  10. 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,
  );
}