copyWith method

CommandTaskResponseDTO copyWith({
  1. bool? isSuccessful,
  2. HubCommandResponseModel? hub,
})

Implementation

CommandTaskResponseDTO copyWith(
    {bool? isSuccessful, HubCommandResponseModel? hub}) {
  return CommandTaskResponseDTO(
      isSuccessful: isSuccessful ?? this.isSuccessful, hub: hub ?? this.hub);
}