copyWith method

Response copyWith({
  1. bool? status,
  2. dynamic data,
  3. String? message,
})

Implementation

Response copyWith({
  bool? status,
  dynamic data,
  String? message,
}) =>
    Response(
      status: status ?? this.status,
      data: data ?? this.data,
      message: message ?? this.message,
    );