copyWith method
Implementation
TodoListResponseModel copyWith({ num? success,
String? message,
Summary? summary,
String? totalRecords,
List<TodoList>? todoList,
}) => TodoListResponseModel( success: success ?? _success,
message: message ?? _message,
summary: summary ?? _summary,
totalRecords: totalRecords ?? _totalRecords,
todoList: todoList ?? _todoList,
);