copyWith method

LoginUserResponse copyWith({
  1. String? status,
  2. String? message,
  3. int? code,
  4. LoginUserResponseData? data,
})

Implementation

LoginUserResponse copyWith({
  String? status,
  String? message,
  int? code,
  LoginUserResponseData? data,
}) {
  return LoginUserResponse(
    status: status ?? this.status,
    message: message ?? this.message,
    code: code ?? this.code,
    data: data ?? this.data,
  );
}