copyWith method
Implementation
ApiResponse copyWith({
int? status,
String? expiryDate,
int? maxLaunch,
String? message,
Map<String, dynamic>? developerDetails,
}) {
return ApiResponse(
status: status ?? this.status,
expiryDate: expiryDate ?? this.expiryDate,
maxLaunch: maxLaunch ?? this.maxLaunch,
message: message ?? this.message,
developerDetails: developerDetails ?? this.developerDetails,
);
}