copyWith method

GetFacebookResponse copyWith({
  1. String? status,
  2. String? message,
  3. int? code,
  4. List<Facebook>? data,
})

Implementation

GetFacebookResponse copyWith({
  String? status,
  String? message,
  int? code,
  List<Facebook>? data,
}) {
  return GetFacebookResponse(
    status: status ?? this.status,
    message: message ?? this.message,
    code: code ?? this.code,
    data: data ?? this.data,
  );
}